我以前从未使用过Mac,但我正在使用Qt 5.6.2在MacOS 10.12.5上构建一些Qt应用程序。当我从Qt Creator运行应用程序时,我得到了错误:
Failed to start program. Path or permissions wrong?
如果我尝试调试,我得到了错误:
Unable to start LLDB "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb": No such file or directory
经过一些调查,我发现这个问题似乎与Qt Creator项目设置中的工作目录
当我试图用QTCreator 5执行我的应用程序时,我有一个错误:
dyld: Library not loaded: /usr/local/Qt-5.2.0/lib/QtWidgets.framework/Versions/5/QtWidgets
Referenced from: /projets/mcs_control/QT5/build-mcs_control-Desktop_Qt_5_2_0_clang_64bit-Debug/mcs_control.app/Contents/MacOS/mcs_control
Reason: image not found
我的库安装目录不一
我正在尝试使用Qt在MacBook上编译和运行一个应用程序。编译该项目没有任何问题,但当我尝试运行它时,它似乎无法加载插件。
Could not load the Qt platform plugin "cocoa" in "" even though it was found.
The application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
在尝试从Qt或通