[Qt-creator] Building kde project in QTCreator
Ekimov Alexandr
toekimov at gmail.com
Wed Jul 29 09:10:18 CEST 2009
On Среда 29 июля 2009 00:19:55 Charles Abela wrote:
> 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)
>
You should check cmake version. Required 2.6 minimum. And build kdebase
project before FolderView, I think.
Post Scriptum: you selected wrong maillist. It's about Qt-creator, not cmake
or kde.
More information about the Qt-creator-old
mailing list