[CMake] Finding Qt3 moc and uic when Qt4 is installed in path

Craig Bradney cbradney at zip.com.au
Mon Apr 3 18:07:22 EDT 2006


Hi,

I'm wondering if anyone has a solution to the problem I'm facing right now... 
ie, on Gentoo Qt3's bin files are in /usr/qt/3/bin and Qt4 ones are 
in /usr/bin. FindQt3.cmake in cmake 2.3.4-20060317 is giving me these...

/usr/qt/3 for $ENV{QTDIR}
/usr/bin/moc for ${QT_MOC_EXECUTABLE}
/usr/bin/uic for ${QT_UIC_EXECUTABLE}
/usr/qt/3/lib/libqt-mt.so for ${QT_QT_LIBRARY}
/usr/qt/3/include for ${QT_INCLUDE_DIR}

The bins are called moc and uic as looked for by FintQt3.cmake.

thanks
Craig Bradney
Scribus Team


More information about the CMake mailing list