View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014852 | CMake | CMake | public | 2014-03-31 03:36 | 2016-06-10 14:31 | ||||
Reporter | Yew Kurabayashi | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | x64 | OS | Windows | OS Version | 7 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014852: Can't stop including Qt 4. I want to use Qt 5. | ||||||||
Description | When I build a solution of MSVC 2012 generated from the source files in the attached file, "sampleSources.zip", the build process fails every time. The error is caused by including Qt 4 library by CMake while I want to use Qt 5 in my codes. The error message from MSVC is attached as the file, "MSVCOutput.txt" (Japanese messages are translated by me in [ ]). I know that if I remove 23 include paths of Qt 4 in Visual Studio or from the project file then the build succeeds but it is a cumbersome task. Even if I remove the entries related to Qt 4 in CMake GUI, they come back again at the next time configuration. There are no entries related to Qt 4 in the environment variables in my machine. I can't remove Qt 4 installation from my machine because ITK, VTK and ParaView still seem to use Qt 4 and I use these Kitware libraries. So, does CMake provide a way to choose the version of Qt between 4 and 5? If not, please implement it. I searched information about this problem in the Web, but I couldn't find any answers. If someone has good advice, please let know. Best regards. This issue follows the following issue but is about another problem. 0014811: Too many include paths are set to AM_MOC_INCLUDES in AutomocInfo.cmake then the build fails. - MantisBT http://public.kitware.com/Bug/view.php?id=14811 [^] | ||||||||
Steps To Reproduce | Generate a solution for MSVC 2012 Win64 with the CmakeLists.txt, then build it by Visual Studio. | ||||||||
Additional Information | List of softwares, libraries: Microsoft Visual Studio Express 2013 for Windows Desktop (Solution generated with CMake is for MSVC 2012) Solution Platform: x64 Qt 5.2.1 Qt 4.8.5 ITK 4.5.1 ParaView 4.1.0 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() ![]() ![]() | ||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0042524) 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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-03-31 03:36 | Yew Kurabayashi | New Issue | |
2014-03-31 03:36 | Yew Kurabayashi | File Added: MSVCOutput.txt | |
2014-03-31 03:37 | Yew Kurabayashi | File Added: src.zip | |
2014-03-31 03:37 | Yew Kurabayashi | File Added: CMakeLists.txt | |
2014-03-31 09:13 | Brad King | Relationship added | related to 0014811 |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042524 | |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |