समस्याएं ओएस एक्स 10.9 पर एक क्यूटी परियोजना बनाने के लिए मैं सीएमके का उपयोग कर रहा हूं।क्यूटी 5 और ओएस एक्स मैवरिक्स
चूंकि मैवरिक्स, ओपनजीएल हेडर का स्थान बदल गया है। फ़ोल्डर /System/Library/Frameworks/OpenGL.framework/Headers
अब याद आ रही है, और cmake
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""."
कहते हैं और इस चर _qt5gui_OPENGL_INCLUDE_DIR
, जो मैं पथ वे जाहिरा तौर पर मावेरिक्स में करने के लिए ले जाया गया हेडर के साथ की कोशिश की में सही पथ प्रदान करने के लिए मुझे पूछते हैं:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers
लेकिन मैं अभी भी निम्न cmake त्रुटि मिलती है:
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)
अब मैं इस त्रुटि के बारे में क्या करना है पता नहीं है, किसी भी विचार?
क्यूटी 5.1.1 तरीका जारी किया गया था लीक से हटकर व्यक्तियों से पहले, इस प्रकार के मुद्दों की उम्मीद की जा करने के लिए कर रहे हैं। –