MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011791 | CMake | Modules | public | 2011-02-03 05:04 | 2011-06-06 18:25 |
Reporter | Rolf Eike Beer | ||||
Assigned To | Clinton Stimpson | ||||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0011791: Regression in next: FIND_PACKAGE(Qt4 COMPONENTS QtMain) gives errors | ||||
Description | The component QtMain is needed to get working Qt applications on Windows. In current snapshots this doesn't work anymore. | ||||
Steps To Reproduce | CMakeLists.txt PROJECT(qtmain) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) FIND_PACKAGE(Qt4 4.5.3 COMPONENTS QtCore QtGui QtMain) INCLUDE(${QT_USE_FILE}) ADD_EXECUTABLE(qtmain WIN32 qtmain.cpp) TARGET_LINK_LIBRARIES(qtmain ${QT_LIBRARIES}) qmain.cpp #include <QApplication> #include <QMainWindow> int main(int argc, char* argv[]) { QApplication app(argc, argv); QMainWindow mainWin; mainWin.show(); return app.exec(); } | ||||
Additional Information | Test runs of the example: Win32 / CMake 2.8.3: -- Found Qt-Version 4.6.2 (using c:/data/software/qt/qt-4.6.2-vs2008-x64/bin/qmake.exe) Win32 / CMake 2.8.3.20110202-g4d4d5: -- Could NOT find Qt4 (missing: QT_QTMAIN_INCLUDE_DIR) (found suitable version "4.6.2", required is "4.5.3") Linux / CMake 2.8.3: -- Found Qt-Version 4.5.4 (using /usr/bin/qmake) Linux / CMake 2.8.3.20110202-g4d4d5: -- Could NOT find Qt4 (missing: QT_QTMAIN_INCLUDE_DIR QT_QTMAIN_LIBRARY) (found suitable version "4.5.4", required is "4.5.3") | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-02-03 05:04 | Rolf Eike Beer | New Issue | |||
2011-02-03 08:10 | Brad King | Assigned To | => Clinton Stimpson | ||
2011-02-03 08:10 | Brad King | Status | new => assigned | ||
2011-02-03 08:10 | Brad King | Target Version | => CMake 2.8.4 | ||
2011-02-03 08:13 | Brad King | Note Added: 0025231 | |||
2011-02-03 11:12 | Rolf Eike Beer | Note Added: 0025235 | |||
2011-02-03 13:46 | Brad King | Product Version | CMake-2-8 => | ||
2011-02-03 13:46 | Brad King | Target Version | CMake 2.8.4 => | ||
2011-02-03 13:46 | Brad King | Summary | Regression in 2.8.4-rc: FIND_PACKAGE(Qt4 COMPONENTS QtMain) gives errors => Regression in next: FIND_PACKAGE(Qt4 COMPONENTS QtMain) gives errors | ||
2011-02-03 13:46 | Brad King | Note Added: 0025246 | |||
2011-02-03 18:38 | Clinton Stimpson | Note Added: 0025262 | |||
2011-02-03 18:38 | Clinton Stimpson | Status | assigned => resolved | ||
2011-02-03 18:38 | Clinton Stimpson | Resolution | open => fixed | ||
2011-06-06 18:25 | David Cole | Status | resolved => closed | ||
2011-06-06 18:25 | David Cole | Note Added: 0026693 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|