View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014438CMakeModulespublic2013-09-24 12:292016-06-10 14:31
ReporterAndreas Pakulat 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014438: FindQt4.cmake uses QT_LIBINFIX for plugins which causes failure to find plugins
DescriptionFindQt4.cmake uses find_library with a specially constructed name to setup CMake cache variables for the various Qt plugins. This uses the QT_LIBINFIX variable which is only set for Qt installations that were built with the -qtlibinfix configure option to change the standard library names.

This behaviour is incorrect, Qt does not change the name of plugins when building it with -qtlibinfix - unless you build for the Symbian platform. Hence FindQt4.cmake fails to find any Qt plugins which can lead to very subtle errors such as DeployQt4.cmake not being able to deploy plugins anymore (as it relies on the variables set up by FindQt4.cmake).

A simple removal of the QT_LIBINFIX variable around line 1322 fixes that.
Steps To ReproduceBuild Qt4 with -qtlibinfix yourinfix
Run cmake on a Qt4 project using QMake from that Qt4
Check the CMakeCache.txt to verify that the QT_*PLUGIN* variables are set
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042376)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-09-24 12:29 Andreas Pakulat New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042376
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team