View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012974 | CMake | Modules | public | 2012-02-18 07:21 | 2012-07-09 06:52 | ||||
Reporter | mtgrasse | ||||||||
Assigned To | Clinton Stimpson | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Windows | OS Version | ||||||
Product Version | CMake 2.8.6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012974: FindQT3 | ||||||||
Description | find_package(Qt3 REQUIRED) always returns a QT_QTMAIN_LIBRARY and QT_LIBRARIES where the path to the qtmain library is /lib/qtmain.lib rather than ${QTDIR}/lib/qtmain.lib. Other QT libraries have the correct path. I think this is because of the following code in FindQT3.cmake: IF (WIN32) FIND_LIBRARY(QT_QTMAIN_LIBRARY qtmain "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]/lib" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]/lib" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]/lib" "$ENV{ProgramFiles}/qt/lib" $ENV{QTDIR}/lib "C:/Program Files/qt/lib" DOC "This Library is only needed by and included with Qt3 on MSWindows. It should be NOTFOUND, undefined or IGNORE otherwise." ) ENDIF (WIN32) Shouldn't there be "HINTS" or "PATHS" between "qtmain" and the first registry path? When I add HINTS into the call it starts working correctly. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0028635) Brad King (manager) 2012-02-19 09:56 |
The registry entries and QTDIR should be HINTS because they are computed from the system and the "Program Files" entries should be PATHS since they are hard-coded guesses. |
(0028660) Clinton Stimpson (developer) 2012-02-20 15:01 |
f506621 Fix paths/hints for finding qtmain. |
(0029980) David Cole (manager) 2012-07-09 06:52 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-02-18 07:21 | mtgrasse | New Issue | |
2012-02-19 09:55 | Brad King | Assigned To | => Clinton Stimpson |
2012-02-19 09:55 | Brad King | Status | new => assigned |
2012-02-19 09:56 | Brad King | Note Added: 0028635 | |
2012-02-20 15:01 | Clinton Stimpson | Note Added: 0028660 | |
2012-02-20 15:01 | Clinton Stimpson | Status | assigned => resolved |
2012-02-20 15:01 | Clinton Stimpson | Resolution | open => fixed |
2012-07-09 06:52 | David Cole | Note Added: 0029980 | |
2012-07-09 06:52 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |