View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009929 | CMake | Modules | public | 2009-11-20 03:44 | 2010-11-09 16:37 | ||||
Reporter | Alex Neundorf | ||||||||
Assigned To | Clinton Stimpson | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | CMake-2-8 | |||||||
Summary | 0009929: FindQt4: the search for additional libraries does not prefer the output from qmake | ||||||||
Description | When searching the additional libraries, like e.g. libSM.so parsed from the Qt config file, the libraries are searched using: find_library(.... PATHS ${some_dir}) This has the effect that on a 64bit system it found /usr/X11R6/lib/libSM.so, while Qt said it should look it /usr/X11R6/lib64/. The find_xxx() calls should be changed to use HINTS instead of PATHS. This fixes the problem (tested here). Alex | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0018495) Clinton Stimpson (developer) 2009-11-20 10:13 |
Now that FindX11.cmake supports all but one of the X11 libs Qt needs, I think I'll switch to using that (after adding support for libXi). Does that sound OK? |
(0018510) Alex Neundorf (developer) 2009-11-21 19:55 |
How can you make sure that FindX11.cmake will prefer the libs in the dir reported by qmake ? Alex |
(0018605) Clinton Stimpson (developer) 2009-11-28 10:26 |
I thought cmake was smart enough to tell the difference between 32 and 64 bit libraries. It should have found the ones in /usr/X11R6/lib64/ if you were doing a 64 bit build, even if not using any info from qmake, right? And what linux distro was this on? Some have lib as a softlink to lib64 while keeping 32 bit stuff under a lib32. |
(0019939) Clinton Stimpson (developer) 2010-03-17 12:50 |
Changed to use FindX11.cmake. |
(0023112) Alex Neundorf (developer) 2010-11-09 16:37 |
It's closed. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-11-20 03:44 | Alex Neundorf | New Issue | |
2009-11-20 03:44 | Alex Neundorf | Status | new => assigned |
2009-11-20 03:44 | Alex Neundorf | Assigned To | => Clinton Stimpson |
2009-11-20 10:13 | Clinton Stimpson | Note Added: 0018495 | |
2009-11-21 19:55 | Alex Neundorf | Note Added: 0018510 | |
2009-11-28 10:26 | Clinton Stimpson | Note Added: 0018605 | |
2010-03-17 12:50 | Clinton Stimpson | Note Added: 0019939 | |
2010-03-17 12:50 | Clinton Stimpson | Status | assigned => resolved |
2010-03-17 12:50 | Clinton Stimpson | Resolution | open => fixed |
2010-11-09 16:37 | Alex Neundorf | Note Added: 0023112 | |
2010-11-09 16:37 | Alex Neundorf | Status | resolved => closed |
2010-11-09 16:37 | Alex Neundorf | Fixed in Version | => CMake-2-8 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |