| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0013827 | CMake | Modules | public | 2013-01-03 06:02 | 2013-01-03 15:03 | ||||
| Reporter | Martin Müllenhaupt | ||||||||
| Assigned To | Clinton Stimpson | ||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake 2.8.10.2 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0013827: UseQt4.cmake should add link_directories command | ||||||||
| Description | UseQt4.cmake contains a include_directories(${QT_INCLUDE_DIR}) command for the include directories. It should contain a similar command link_directories(${QT_LIBRARY_DIR}) for the lib directory. This would complete the setup of Qt4 in my environment, where it wasn't installed in the standard install prefix. | ||||||||
| Tags | qt | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0031960) Rolf Eike Beer (developer) 2013-01-03 06:24 |
This is almost certainly totally wrong. If you use target_link_libraries as in the example at the to of FindQt4 documentation you get absolute paths to those libraries. If not, that is the bug. But link_directories is in almost all cases the wrong answer (see it's documentation). |
|
(0031965) Alex Neundorf (developer) 2013-01-03 13:59 |
Eike is right. How about closing this ticket ? |
|
(0031967) Clinton Stimpson (developer) 2013-01-03 15:03 |
I agree. There's no way we'll take a step backwards and use linnk_directories(). Martin, if you still have problems using a Qt from non-standard locations, I suggest going to the mailing list first. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2013-01-03 06:02 | Martin Müllenhaupt | New Issue | |
| 2013-01-03 06:16 | Martin Müllenhaupt | Tag Attached: qt | |
| 2013-01-03 06:24 | Rolf Eike Beer | Note Added: 0031960 | |
| 2013-01-03 06:24 | Rolf Eike Beer | Assigned To | => Clinton Stimpson |
| 2013-01-03 06:24 | Rolf Eike Beer | Status | new => assigned |
| 2013-01-03 13:59 | Alex Neundorf | Note Added: 0031965 | |
| 2013-01-03 15:03 | Clinton Stimpson | Note Added: 0031967 | |
| 2013-01-03 15:03 | Clinton Stimpson | Status | assigned => closed |
| 2013-01-03 15:03 | Clinton Stimpson | Resolution | open => no change required |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |