Re: [CMake] Fwd: Fwd: cmake link against Qt4's OpenGL

2008-09-27 Thread Linge Bai
It is the moc stuff that's causing the problem. After used qmake to generate moc_*.cpp files, I was able to use cmake to compile the code. But I still have no idea on how to use cmake to compile the code without using qmake to generate the moc files first. The change to my CMakeLists.txt file I

Re: [CMake] Fwd: Fwd: cmake link against Qt4's OpenGL

2008-09-27 Thread Bill Hoffman
Linge Bai wrote: It is the moc stuff that's causing the problem. After used qmake to generate moc_*.cpp files, I was able to use cmake to compile the code. But I still have no idea on how to use cmake to compile the code without using qmake to generate the moc files first. The change to my

[CMake] Fwd: Fwd: cmake link against Qt4's OpenGL

2008-09-26 Thread Linge Bai
Yes, this program runs well when compile with qmake. Linge On Fri, Sep 26, 2008 at 5:18 PM, Michael Jackson [EMAIL PROTECTED] wrote: Look in the GLWidget source file and see if there is actually a zRotationChanged(int) method available. Mike On Sep 26, 2008, at 5:15 PM, Linge Bai

Re: [CMake] Fwd: Fwd: cmake link against Qt4's OpenGL

2008-09-26 Thread Michael Jackson
use make VERBOSE=1 and examine the link line. If you still have the qmake project around compare the link lines between the 2 projects. I have no idea. I have not used the QtOpenGL library before so this is all new to me. Mike On Sep 26, 2008, at 5:24 PM, Linge Bai wrote: Yes, this