View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003079CMakeCMakepublic2006-04-04 05:022006-10-04 13:31
ReporterCraig Bradney 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003079: FindQt3 in CMake 2.3.4 on Gentoo finds Qt4 bin files when Qt4 is installed
DescriptionAs per my posting on the mailing list:
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.

Adding NO_DEFAULT_PATH to the FIND_PROGRAM calls in FindQt3.cmake for uic and moc fixes it, but thats hardly optimal for a "normal" user. With Qt4 removing the QTDIR env var, perhaps a priority on the QTDIR setting could be placed in FindQt3.cmake somehow ?
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0005147)
Bill Hoffman (manager)
2006-10-04 13:31

I think this is fixed in cvs QTDIR should be searched first.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team