[cmake-developers] [CMake 0014445]: Does not build with Qt 5.1.0, same as issue #0014142
Mantis Bug Tracker
mantis at public.kitware.com
Fri Sep 27 04:27:51 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14445
======================================================================
Reported By: Zachary Deretsky
Assigned To:
======================================================================
Project: CMake
Issue ID: 14445
Category: CMake
Reproducibility: always
Severity: crash
Priority: immediate
Status: new
======================================================================
Date Submitted: 2013-09-27 04:27 EDT
Last Modified: 2013-09-27 04:27 EDT
======================================================================
Summary: Does not build with Qt 5.1.0, same as issue
http://www.cmake.org/Bug/view.php?id=14142
Description:
CMake Warning at Modules/FindQt4.cmake:657 (message):
/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/qmake
reported QT_INSTALL_LIBS as
"/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/stow/qt-everywhere-opensource-src-5.1.0/lib"
but QtCore could not be found there. Qt is NOT installed correctly for the
target build environment.
Call Stack (most recent call first):
Tests/RunCMake/CMakeLists.txt:79 (find_package)
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
CMake Error at Modules/FindQt4.cmake:1032 (set_property):
set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
been created.
Call Stack (most recent call first):
Tests/RunCMake/CMakeLists.txt:79 (find_package)
CMake Error at Modules/FindQt4.cmake:1037 (set_property):
set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
been created.
Call Stack (most recent call first):
Tests/RunCMake/CMakeLists.txt:79 (find_package)
CMake Error at Modules/FindQt4.cmake:1040 (set_property):
set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
been created.
Call Stack (most recent call first):
Tests/RunCMake/CMakeLists.txt:79 (find_package)
CMake Warning at Modules/FindQt4.cmake:657 (message):
/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/qmake
reported QT_INSTALL_LIBS as
"/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/stow/qt-everywhere-opensource-src-5.1.0/lib"
but QtCore could not be found there. Qt is NOT installed correctly for the
target build environment.
Call Stack (most recent call first):
Tests/CMakeLists.txt:263 (find_package)
CMake Error at Modules/FindQt4.cmake:1032 (set_property):
set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
been created.
Call Stack (most recent call first):
Tests/CMakeLists.txt:263 (find_package)
CMake Error at Modules/FindQt4.cmake:1037 (set_property):
set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
been created.
Call Stack (most recent call first):
Tests/CMakeLists.txt:263 (find_package)
CMake Error at Modules/FindQt4.cmake:1040 (set_property):
set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
been created.
Call Stack (most recent call first):
Tests/CMakeLists.txt:263 (find_package)
-- Found unsuitable Qt version "5.1.0" from
/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/bin/qmake
-- Performing Test run_pic_test
-- Performing Test run_pic_test - Success
-- Configuring incomplete, errors occurred!
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
./bootstrap
--prefix=/AZ/x86_64/kernel-3.2.0-25-virtual/glibc-2.15/2013-09-19-12.16.39/stow/cmake-2.8.11.2
returned exit status 11
Steps to Reproduce:
to reproduce: standard build: ./bootstrap --prefix=your_prefix_path
Issue http://www.cmake.org/Bug/view.php?id=14142 recommends:
Until then, the workarounds are:
* Cause cmake to not find Qt 5 development files (either by uninstalling, or
adjusting CMAKE_PREFIX_PATH)
* Cause cmake to find Qt 4 development files (either by installing it, or
adjusting CMAKE_PREFIX_PATH)
* Configure CMake with -DBUILD_TESTING=FALSE
Please give more detailed and specific instructions. The first two suggestions
are not suitable for me. I don't understand how to apply the third one. Cmake
configure just calls bootstrap, which does not accept the flag
-DBUILD_TESTING=FALSE.
Please let me know if there is a way to download Cmake source with this bug
fixed.
Thank you, Zach.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-09-27 04:27 Zachary DeretskyNew Issue
======================================================================
More information about the cmake-developers
mailing list