[Qt-creator] Building kde project in QTCreator

Charles Abela charles.abela at gmail.com
Tue Jul 28 22:19:55 CEST 2009


Hi I have found this good article : http://www.sebruiz.net/359
about how to make use of QTCreator to debug KDE projects.
I am using Qt Creator 1.2.1 based on Qt 4.5.2

To build a KDE project I am following this article's suggestions, i.e.
access the relevant CMakeLists.txt and then run cmake. However for some
reason I am getting errors when cmake is run. I am trying to build a project
for the FolderView applet. I am accessing its CMakeLists.txt from within
QtCreator and calling cmake. This is the error I am getting:

CMake Error at CMakeLists.txt:10 (macro_optional_find_package):

Unknown CMake command "macro_optional_find_package".

CMake Warning (dev) in CMakeLists.txt:

No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower

if you wish to support older CMake versions for this project. For more

information run "cmake --help-policy CMP0000".

This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

is this related to some problems with CMake or to some problem with paths or
teh CMakeLists.txt file used or otherwise?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090728/081ed71b/attachment.html 


More information about the Qt-creator-old mailing list