View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013827CMakeModulespublic2013-01-03 06:022013-01-03 15:03
ReporterMartin Müllenhaupt 
Assigned ToClinton Stimpson 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013827: UseQt4.cmake should add link_directories command
DescriptionUseQt4.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.
Tagsqt
Attached Files

 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.

 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


Copyright © 2000 - 2018 MantisBT Team