qmake project template?

Milian Wolff mail at milianw.de
Thu Apr 16 15:57:41 BST 2015

On Thursday 16 April 2015 15:52:55 René J.V. Bertin wrote:
> Hi,
> Does anyone have a good project template (or plugin) for importing qmake
> ".pro" files and working with the resulting project?

This is contradictory. Either you want to create a new project and need a 
template or you want to import an existing .pro file. So - which one is it?

> 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
> )
> but that's not really satisfactory.

Now where does CMake come in when you want QMake? Have you tried kdev-qmake?


Milian Wolff
mail at milianw.de

More information about the KDevelop mailing list