我正在使用Qt安装程序框架1.4。适用于Windows,但我在Mac OSX上遇到问题。
如manual中所述,我切换到教程目录并运行此命令
../../bin/binarycreator -c config\config.xml -p packages YourInstaller
安装程序构建没有问题,但运行后,我收到错误
YourInstaller意外退出
我在10.8.2和10.7.4版本的Mac OSX中尝试过。结果相同。
崩溃报告:
Process: YourInstaller [317]
Path: /Users/USER/*/YourInstaller.app/Contents/MacOS/YourInstaller
Identifier: com.yourcompany.installerbase
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [113]
Date/Time: 2013-09-25 19:01:17.833 +0300
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 120529 sec
Crashes Since Last Report: 4
Per-App Interval Since Last Report: 37 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: BD392C87-1080-4663-B36C-20F3CF6EA085
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[317]: garbage collection is OFF
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff81f73ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff832ce7d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff832bfa7a abort + 143
3 com.yourcompany.installerbase 0x0000000100ada3b5 qt_message_output(QtMsgType, char const*) + 149
4 com.yourcompany.installerbase 0x0000000100ada56d _ZL10qt_message9QtMsgTypePKcP13__va_list_tag + 381
5 com.yourcompany.installerbase 0x0000000100ada78d qFatal(char const*, ...) + 141
6 com.yourcompany.installerbase 0x000000010044efca qt_init(QApplicationPrivate*, int) + 2218
7 com.yourcompany.installerbase 0x00000001004bda4b QApplicationPrivate::construct() + 187
8 com.yourcompany.installerbase 0x00000001004be83d QApplication::QApplication(int&, char**, int) + 95
9 com.yourcompany.installerbase 0x000000010000e8bf MyApplication::MyApplication(int&, char**) + 25
10 com.yourcompany.installerbase 0x0000000100005dda main + 5594
11 com.yourcompany.installerbase 0x00000001000047d4 start + 52