Re: [CMake] Re: a question about QT_WRAP_CPP and QT_WRAP_UI

2007-06-01 Thread Liang Qi
Hi, Alex, On 30/05/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: Hi, If you want to you can write your own macro to handle the moc files, in FindQt4.cmake you can find an example. But I suggest if the suffix is the only "issue" then you just accept it as it is. Thanks for your hints. It loo

[CMake] Re: a question about QT_WRAP_CPP and QT_WRAP_UI

2007-05-30 Thread Liang Qi
No solution for this thread? On 23/05/07, Liang Qi <[EMAIL PROTECTED]> wrote: I have a question about QT_WRAP_CPP and QT_WRAP_UI. Now the default behavior of them are to generate .h and .cxx files. How could I modify something to change them to .H and .C(for example) file extensions?

[CMake] a question about QT_WRAP_CPP and QT_WRAP_UI

2007-05-23 Thread Liang Qi
Hi, all, I have a question about QT_WRAP_CPP and QT_WRAP_UI. Now the default behavior of them are to generate .h and .cxx files. How could I modify something to change them to .H and .C(for example) file extensions? Thanks. Regards, Liang -- KDE China: http://www.kdecn.org Qt/Qtopia Chinese Fo

Re: [CMake] a question about link with qt4

2007-05-22 Thread Liang Qi
Jacob, Thanks. It's ok now. Regards, Liang On 22/05/07, Jacob Foshee <[EMAIL PROTECTED]> wrote: You should call target_link_libraries only after you have called add_executable for the given project. Otherwise, CMake doesn't yet know about the executable. -- KDE China: http://www.kdecn.org Q

[CMake] a question about link with qt4

2007-05-22 Thread Liang Qi
Hi, I am a new one for cmake. Now I am using Qt 4.3.0 rc 1 Commercial Edition(VS2005) + Microsoft Visual C++ 2005 Express Edition on Windows XP SP2. cmake 2.4 patch 6 I just used one example code of Qt 4, analogclock. Following is my CMakeList.txt: project (analogclock) find_package(Qt4 REQUIR

[CMake] Re: a problem about cmake and kde 4 on opensuse 10.2

2007-04-11 Thread Liang Qi
Hi, Bill, On 11/04/07, Bill Hoffman <[EMAIL PROTECTED]> wrote: Liang Qi wrote: > Hi, all, > [100%] Building CXX object CMakeFiles/tutorial1.dir/main.o > /usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef > -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith &

[CMake] a problem about cmake and kde 4 on opensuse 10.2

2007-04-11 Thread Liang Qi
Hi, all, I used opensuse 10.2 and installed some package from here: http://software.opensuse.org/download/KDE:/KDE4/openSUSE_10.2/ I had installed cmake, libqt4, strigi, kdelibs, kdepimlibs, kdebase and devel packages for them. And I had followed the article to create my first kde4 app, http://t