更新时间:2021-08-20 02:49:13
借助Qt支持,我现在已经解决了此问题.
With the help of Qt support, I've now resolved this.
有两个问题:
Qt调试"make install"当前未为_debug东西生成dSYM文件.他们对此提出了一个错误.为了解决这个问题:
The Qt debug "make install" doesn't currently generate dSYM files for the _debug stuff. They've raised a bug about this. To get round this:
4a. cd /usr/local/Trolltech/Qt-4.5.2/lib
4b.键入/usr/bin/dsymutil -o QtGui.framework/QtGui_debug.dSYM QtGui.framework/Versions/4/QtGui_debug
4c.对每个Qt框架重复以上操作.
4a. cd /usr/local/Trolltech/Qt-4.5.2/lib
4b. Type /usr/bin/dsymutil -o QtGui.framework/QtGui_debug.dSYM QtGui.framework/Versions/4/QtGui_debug
4c. Repeat for each Qt framework.
每次重新启动时,确实会擦除tmp目录.为了解决这个问题:
The tmp directory does indeed get wiped on each reboot. To get round this:
7-将/tmp/qt-mac-opensource-src-4.5.2
的全部内容复制到新目录~/Qt
.
7- Copy the entire contents of /tmp/qt-mac-opensource-src-4.5.2
to a new directory ~/Qt
.
我还将框架和源代码都添加到了Xcode项目中.
I also added both the frameworks and source code to the Xcode project.