[cmake-developers] [CMake 0013837]: QT_VERSION_* variables defined too late in FindQt4.cmake

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 7 10:03:23 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13837 
====================================================================== 
Reported By:                Martin Müllenhaupt
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13837
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-07 10:03 EST
Last Modified:              2013-01-07 10:03 EST
====================================================================== 
Summary:                    QT_VERSION_* variables defined too late in
FindQt4.cmake
Description: 
In FindQt4.cmake, lines 1174-1176, the variables QT_VERSION_MAJOR,
QT_VERSION_MINOR and QT_VERSION_PATCH are defined.
But they are used earlier in line 1076 by the Qt4ConfigDependentSettings.cmake
macro.

This results in failing static linkage of the QtNetwork library when compiling
with OpenSSL support on my setup (http://mxe.cc/).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-07 10:03 Martin MüllenhauptNew Issue                                   

======================================================================




More information about the cmake-developers mailing list