Qt 5 und OS X Mavericks Probleme

Ich bin mit Cmake bauen ein QT-Projekt auf OS X 10.9.

Seit Mavericks, die Lage der OpenGL-Header verändert zu haben scheint. Der Ordner /System/Library/Frameworks/OpenGL.framework/Headers jetzt fehlt, und cmake sagt

CMake Error at /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:8 (message):
  Failed to find "gl.h" in
  "/System/Library/Frameworks/OpenGL.framework/Headers"
  "/System/Library/Frameworks/AGL.framework/Headers""."

und mich auffordert, geben Sie den richtigen Pfad in dieser variable _qt5gui_OPENGL_INCLUDE_DIR, die ich habe versucht, mit dem Weg, den Sie offenbar zog die Header in Mavericks:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers

Aber ich bekomme immer noch folgende cmake error:

CMake Error at /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
  The imported target "Qt5::Gui" references the file

     "/System/Library/Frameworks/OpenGL.framework/Headers"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:57 (_qt5_Gui_check_file_exists)
  /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:64 (_qt5gui_find_extra_libs)
  /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:123 (include)
  CMakeLists.txt:40 (find_package)

Nun weiß ich nicht, was zu tun ist über diesen Fehler, irgendwelche Ideen?

  • Qt 5.1.1 veröffentlicht wurde übrigens vor mavericks, damit Probleme zu erwarten sind.
InformationsquelleAutor kadrian | 2013-11-03
Schreibe einen Kommentar