CMake Error when building with Qt 5.5 on OS X

Bug #1519883 reported by Nicolas Martignoni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Invalid
Undecided
Unassigned

Bug Description

When building Stellarium 0.15.0 on OS X Yosemite (10.10.5) with Qt 5.5, CMake outputs "Could not find a package configuration file provided by "Qt5Script" with any of the following names" (see below) and exits with incomplete configuration.

Building with Qt 5.4.2 on same configuration works flawlessly.

Relevant terminal output:

imac:macosx nicolas$ cmake ../..
-- The C compiler identification is AppleClang 7.0.0.7000176
-- The CXX compiler identification is AppleClang 7.0.0.7000176
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Qt5: /Users/nicolas/Qt/5.5/clang_64/bin/qmake (found suitable version "5.5.0")
CMake Error at CMakeLists.txt:241 (FIND_PACKAGE):
  By not providing "FindQt5Script.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Script", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Script" with
  any of the following names:

    Qt5ScriptConfig.cmake
    qt5script-config.cmake

  Add the installation prefix of "Qt5Script" to CMAKE_PREFIX_PATH or set
  "Qt5Script_DIR" to a directory containing one of the above files. If
  "Qt5Script" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
See also "/Users/nicolas/Development/stellarium/stellarium/builds/macosx/CMakeFiles/CMakeOutput.log".

Tags: mac-os-x
tags: added: mac-os-x
Revision history for this message
Alexander Wolf (alexwolf) wrote :

what say cmake --version ?

Revision history for this message
Nicolas Martignoni (nicolas-martignoni) wrote :

imac:macosx nicolas$ cmake --version
cmake version 3.4.0

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Can't confirm issue on OS X 10.7 with cmake 3.4.0 and Qt 5.5.1

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Nicolas, can you check this issue with Qt 5.5.1?

Revision history for this message
Nicolas Martignoni (nicolas-martignoni) wrote :

I just tested with a freshly downloaded Qt 5.5.1. Bug doesn't occur any more.

Changed in stellarium:
status: New → Invalid
Revision history for this message
Nicolas Martignoni (nicolas-martignoni) wrote :

Closed as invalid. Probably a problem with Qt 5.5.0?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.