[CMake] Errors in OSX platform and ubuntu of a Qt app

Leopold Palomo-Avellaneda lepalom at wol.es
Wed Dec 12 05:17:59 EST 2007


Hi,

I'm not an expert of cmake so please, forgive me is the question is stupid. 
I'm migrating an application from qmake to cmake. The apps _only_ needs qt4 
and libpq (postgresql). 

I can compile the application in a Debian Etch without any problem with cmake 
2.4.5 and 2.4.7 (an own backport) and qt 4.2 . 

I have a parther that cannot compile the application in ubuntu given linked 
errors (with cmake 4.6 and qt 4.2) and also another cannot compile it in OSX, 
because another undefined symbols. My question is, have I to take care 
something special for OSX platforms or if I can build it in a platform, the 
problems in anothers platforms are not cmake issues?

If someone want to check it, the project is Open Source and you can test it 
doing this:


svn checkout http://svn.berlios.de/svnroot/repos/bulmages/trunk/bulmages 
trunk-bulmages

cd trunk-bulmages
mkdir build
cd build
cmake ../
make

you only needs the qt> 4.2 development files and the postgresql (libpq) dev 
files.

Regards,

Leo


More information about the CMake mailing list