[Kde-bindings] Compile error for smokedeptool on Linux

Arno Rehn arno at arnorehn.de
Sun Feb 7 13:17:41 UTC 2010


On Sunday 07 February 2010 06:55:47 Elliott Slaughter wrote:
> Hi,
> 
> I can build libsmokeqt and libsmokeqtcore successfully on Linux, but the
> build fails immediately after that upon attempting to compile smokedeptool.
> It appears (to my untrained eye) that the compiler is failing to find
> QtCore, despite the fact that I successfully compiled libsmokeqtcore.
> 
> [ 58%] Building CXX object smoke/deptool/CMakeFiles/smokedeptool.dir/main.o
> /tmp/eslaught/kdebindings/smoke/deptool/main.cpp:20:18: error: QtCore: No
> such file or directory
> /tmp/eslaught/kdebindings/smoke/deptool/main.cpp:21:19: error: QtDebug: No
> such file or directory
> /tmp/eslaught/kdebindings/smoke/deptool/main.cpp:28: error: ‘QFileInfo’ was
> not declared in this scope
> /tmp/eslaught/kdebindings/smoke/deptool/main.cpp:28: error: expected ‘,’ or
> ‘;’ before ‘{’ token
> make[2]: *** [smoke/deptool/CMakeFiles/smokedeptool.dir/main.o] Error 1
> make[1]: *** [smoke/deptool/CMakeFiles/smokedeptool.dir/all] Error 2
Seems like we were missing ${QT_INCLUDES} in the include_directories() command 
in CMakeLists.txt. Should be fixed in r1084255.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list