logo       

Building kde project in QTCreator: msg#00339

kde-devel

Subject: Building kde project in QTCreator

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 of the conviction that to build a KDE project one needs to 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

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise