Sorry, a typo in CMakeLists.txt, now "cmake ." is ok, but make failed. kde-devel@kde4:~/docs/kde4> cmake . -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.3.0beta -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/libX11.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE4 include dir: /usr/include -- Found KDE4 library dir: /usr/lib -- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Configuring done -- Generating done -- Build files have been written to: /home/kde-devel/docs/kde4 kde-devel@kde4:~/docs/kde4> make Scanning dependencies of target tutorial1 [100%] Building CXX object CMakeFiles/tutorial1.dir/main.o /home/kde-devel/docs/kde4/main.cpp:1:19: error: QString: No such file or directory /home/kde-devel/docs/kde4/main.cpp:2:24: error: KApplication: No such file or directory /home/kde-devel/docs/kde4/main.cpp:3:22: error: KAboutData: No such file or directory /home/kde-devel/docs/kde4/main.cpp:4:23: error: KMessageBox: No such file or directory /home/kde-devel/docs/kde4/main.cpp:5:24: error: KCmdLineArgs: No such file or directory /home/kde-devel/docs/kde4/main.cpp: In function â: /home/kde-devel/docs/kde4/main.cpp:9: error: â was not declared in this scope /home/kde-devel/docs/kde4/main.cpp:9: error: expected `;' before â /home/kde-devel/docs/kde4/main.cpp:12: error: â has not been declared /home/kde-devel/docs/kde4/main.cpp:12: error: â was not declared in this scope /home/kde-devel/docs/kde4/main.cpp:13: error: â was not declared in this scope /home/kde-devel/docs/kde4/main.cpp:13: error: expected `;' before â /home/kde-devel/docs/kde4/main.cpp:14: error: â was not declared in this scope /home/kde-devel/docs/kde4/main.cpp:14: error: expected `;' before â /home/kde-devel/docs/kde4/main.cpp:17: error: â has not been declared /home/kde-devel/docs/kde4/main.cpp:18: error: â was not declared in this scope make[2]: *** [CMakeFiles/tutorial1.dir/main.o] Error 1 make[1]: *** [CMakeFiles/tutorial1.dir/all] Error 2 make: *** [all] Error 2 -- http://www.qiliang.net http://www.qtopia.org.cn http://cavendishqi.blogspot.com http://www.kdecn.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org