MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013489 | CMake | Modules | public | 2012-08-24 11:34 | 2013-01-09 14:05 |
|
Reporter | Petr Baloun | |
Assigned To | Clinton Stimpson | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.9 | |
Target Version | | Fixed in Version | | |
|
Summary | 0013489: Can't detect QT4 on OS considered as unsupported by QT |
Description | Use QT4 on OS version that is not supproted by QT4 - I tried QT 4.7.2 on Windows 8. CMake is not able to detect anything about the QT4.
|
Steps To Reproduce | Use following code:
include(FindQt4) |
Additional Information | FindQt4 calls "qmake -query ..." to detect some information about QT4, the information is expected on qmake's stdout. On unsupported OS, qmake also dumps some warnings to stderr (in my case it's "QT: Untested Windows version 6.2 detected!").
The problem is that FindQt4 mixes both outputs in a single output variable so the stdout information is mixed with the warning which leads to situation that no information is read and no QT4 detected.
The patch attached simply cancels the redirection of qmake's stderr into output variable which has following results:
- QT4 is properly detected
- the warning is seen in the output by the user |
Tags | No tags attached. |
Relationships | has duplicate | 0013245 | closed | Clinton Stimpson | FindQt4.cmake doesn't work on Windows 8 |
|
Attached Files | qt-unsupported-os.patch (795) 2012-08-24 11:34 https://public.kitware.com/Bug/file/4438/qt-unsupported-os.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2012-08-24 11:34 | Petr Baloun | New Issue | |
2012-08-24 11:34 | Petr Baloun | File Added: qt-unsupported-os.patch | |
2012-08-24 11:41 | Stephen Kelly | Note Added: 0030757 | |
2012-08-24 12:03 | Clinton Stimpson | Note Added: 0030758 | |
2012-08-24 12:03 | Clinton Stimpson | Status | new => resolved |
2012-08-24 12:03 | Clinton Stimpson | Resolution | open => fixed |
2012-08-24 12:03 | Clinton Stimpson | Assigned To | => Clinton Stimpson |
2012-08-24 12:05 | Clinton Stimpson | Relationship added | has duplicate 0013245 |
2013-01-09 14:05 | Robert Maynard | Note Added: 0032080 | |
2013-01-09 14:05 | Robert Maynard | Status | resolved => closed |