MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0007123 | CMake | Modules | public | 2008-05-29 14:14 | 2008-06-10 22:24 |
| Reporter | tanguy_k | ||||
| Assigned To | Clinton Stimpson | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0007123: QT_DEBUG define should be moved from UseQt4.cmake to FindQt4.cmake | ||||
| Description | I noticed that QT_DEBUG and QT_NO_DEBUG are quite important flags. In the case of Phonon backends, it was impossible to load a backend (== a Qt plugin) compiled with MinGW without QT_DEBUG/QT_NO_DEBUG being defined. This issue was detected only with MinGW, it worked fine with MSVC and Linux/GCC. Once the flags QT_DEBUG/QT_NO_DEBUG were added, the problem was solved. This typically a kind of issue very difficult to solve, who thinks about a define not there when it works using other compilers/OS? For the full story about how the problem was detected: http://groups.google.com/group/phonon-vlc-mplayer/browse_thread/thread/334efdff70fab22f [^] How can other people not get into QT_DEBUG/QT_NO_DEBUG issue: - QT_DEBUG/QT_NO_DEBUG are defined inside UseQt4.cmake - a lot of libraries/apps only use FindQt4.cmake without using UseQt4.cmake The solution I propose is to move QT_DEBUG/QT_NO_DEBUG definitions to FindQt4.cmake in order to prevent this. Patch attached | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/1510/FindQt4_QT_DEBUG.diff | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-05-29 14:14 | tanguy_k | New Issue | |||
| 2008-05-29 14:14 | tanguy_k | File Added: FindQt4_QT_DEBUG.diff | |||
| 2008-06-06 11:11 | Bill Hoffman | Status | new => assigned | ||
| 2008-06-06 11:11 | Bill Hoffman | Assigned To | => Clinton Stimpson | ||
| 2008-06-10 22:24 | Clinton Stimpson | Status | assigned => closed | ||
| 2008-06-10 22:24 | Clinton Stimpson | Note Added: 0012314 | |||
| 2008-06-10 22:24 | Clinton Stimpson | Resolution | open => no change required | ||
| Notes | |||||
|
|
|||||
|
|
||||