Re: [CMake] Can't link Qt libraries CMake 2.8.7 + OSX 10.5 + Qt 4.8.1

2012-03-30 Thread Michael Jackson
Please reply to the list also so others may help. Can you use either ccmake or CMake-GUI to set the necessary flag? -- Mike Jackson On Mar 30, 2012, at 10:51 AM, Carlo Nicolini wrote: > As you said the architecture of QtGui library is: > > /Library/Frameworks/QtGui.framework/QtGui: Mach-O 64

Re: [CMake] Can't link Qt libraries CMake 2.8.7 + OSX 10.5 + Qt 4.8.1

2012-03-30 Thread Michael Jackson
The error is this: > ld warning: in /Library/Frameworks//QtGui.framework/QtGui, file is not of > required architecture Your program is compiling for one architecture but the Qt libs are compiled for another. My guess is that you are default compiling for 32 bit (since that is the default under

[CMake] Can't link Qt libraries CMake 2.8.7 + OSX 10.5 + Qt 4.8.1

2012-03-30 Thread Carlo Nicolini
I've a very strange problem while trying to compile a the example provided at http://www.cmake.org/Wiki/images/2/25/QtTest-Package-Example.zip System Informations: Mac OSX 10.5.8 cmake version 2.8.7 installed from latest dmg package available Qt 4.8.1 Installed from latest repositories I issue