首页| 论坛| 消息

回复: 急啊!!在MAC 下安装QT一直编译不成功
#16 回 louis_some 的帖子 [noidea 03-16 11:59]
louis_some:


就是第四个了。。
.......
那你需要重新编译,给我编译过程,类似如下
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -Wall -W -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/macx-clang -I../../mainwindows/application -I../../../../lib/QtWidgets.framework/Versions/5/Headers -I../../../../lib/Qt.....
#17 回 noidea 的帖子 [louis_some 03-16 12:06]
noidea:那你需要重新编译,给我编译过程,类似如下
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk.. (2014-03-16 11:59) 
12:03:35: 为项目application执行步骤 ...
12:03:35: 配置没有改变, 跳过 qmake 步骤。
12:03:35: 正在启动 "/usr/bin/make"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -Wall -W -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/macx-clang -I../application -I../../../../lib/QtWidgets.framework/Versions/5/Headers -I../../../../lib/QtGui.framework/Versions/5/Headers -I../../../../lib/QtCore.framework/Versions/5/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -F/Users/louis/Qt5.2.1/5.2.1/clang_64/lib -o main.o ../application/main.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -o application.app/Contents/MacOS/application main.o mainwindow.o qrc_application.o moc_mainwindow.o -F/Users/louis/Qt5.2.1/5.2. ..
#18 [noidea 03-16 12:09]
在执行以下
$otool -L/Users/louis/Qt5.2.1/5.2.1/clang_64/examples/widgets/mainwindows/build-application-Desktop-Release/application.app/Contents/MacOS/application
#19 回 noidea 的帖子 [louis_some 03-16 12:10]
noidea:在执行以下
$otool -L  /Users/louis/Qt5.2.1/5.2.1/clang_64/examples/widgets/mainwindows/build-application-Desktop-Release/application.app/Contents/MacOS/application (2014-03-16 12:09) 
-bash: -L: command not found
还是这个东西提示。。。
#20 [noidea 03-16 12:12]
没有前边那个$啊
命令是 otool -L

<< 2 3 4 5 6 >> (4/8)

回复 发表
主题 版块