qmake project template?

René J.V. Bertin rjvbertin at gmail.com
Thu Apr 16 14:52:55 BST 2015


Hi,

Does anyone have a good project template (or plugin) for importing qmake ".pro" files and working with the resulting project?

I've had some succces importing such projects with a stub CMake file like

cmake_minimum_required(VERSION 2.8.12)
project(qtbase)
find_package(Qt5 5.4 REQUIRED Core)
get_property(qmake_exe TARGET ${Qt5Core_QMAKE_EXECUTABLE} PROPERTY IMPORT_LOCATION)
execute_process(COMMAND ${qmake_exe} qtbase.pro
     WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)

but that's not really satisfactory.

Thanks,
R.



More information about the KDevelop mailing list