Building Qt 4.8.2 on MacOSX x86
-
Has anybody build Qt 4.8.2 as like an official package, well i made it without any troubles in compilation process, put things as i suppose to the right places (/Developer, /Library/Frameworks/, /usr/bin, /usr/lib), but some applications like Designer, QmlViewver, qtdemo cannot be executed and fall down every time. My configuration is XCode 4.0.2 (iOS 4.3, gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) ), MacOSX 10.6.7, configure:
@./configure -qt-zlib -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -sdk /Developer/SDKs/MacOSX10.6.sdk -arch x86 -no-pch -nomake tests -no-qt3support -release -opensource -confirm-license -bindir /Developer/Tools/Qt -libdir /Library/Frameworks -docdir /Developer/Documentation/Qt -plugindir /Developer/Applications/Qt/plugins -importdir /Developer/Applications/Qt/imports -datadir /usr/local/Qt4.8 -translationdir /Developer/Applications/Qt/translations -examplesdir /Developer/Examples/Qt -demosdir /Developer/Examples/Qt/Demos -no-rpath -prefix / -headerdir /usr/include@i put all the binaries except apps to /usr/bin (qmake, rcc, moc, etc) and apps to /Developer/Applications/Qt as like an official package
Designer log:
@Process: Designer [4279]
Path: /Developer/Applications/Qt/Designer.app/Contents/MacOS/Designer
Identifier: com.trolltech.Designer
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [93]Date/Time: 2012-06-23 13:12:12.667 +0400
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6Interval Since Last Report: 1950938 sec
Crashes Since Last Report: 26
Per-App Interval Since Last Report: 169 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: 8A870307-53B1-470A-B5D3-F88CA0B3F264Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000005fab92a9
Crashed Thread: 0 Dispatch queue: com.apple.main-threadApplication Specific Information:
objc_msgSend() selector name: releaseThread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x974d9ed7 objc_msgSend + 23
1 libphonon_qt7.dylib 0x17d8530f Phonon::QT7::QuickTimeVideoPlayer::~QuickTimeVideoPlayer() + 79
2 libphonon_qt7.dylib 0x17d9ddfc Phonon::QT7::MediaObject::~MediaObject() + 108
3 phonon 0x14bb616a Phonon::MediaNodePrivate::~MediaNodePrivate() + 106
4 phonon 0x14bba075 Phonon::MediaObjectPrivate::~MediaObjectPrivate() + 117
5 phonon 0x14bb7d6d Phonon::MediaObject::~MediaObject() + 77
6 QtCore 0x00db73ac QObjectPrivate::deleteChildren() + 76
7 QtGui 0x010c21ed QWidget::~QWidget() + 637
8 phonon 0x14bc4846 Phonon::VideoPlayer::~VideoPlayer() + 86
9 QtDesigner 0x005480eb qdesigner_internal::WidgetDataBase::defaultPropertyValues(QString const&) + 315
10 QtDesigner 0x0054df53 qdesigner_internal::WidgetDataBase::grabDefaultPropertyValues() + 131
11 com.trolltech.Designer 0x000247b3 QDesignerWorkbench::QDesignerWorkbench() + 307
12 com.trolltech.Designer 0x0001c338 QDesigner::initialize() + 1320
13 com.trolltech.Designer 0x0001c97b QDesigner::QDesigner(int&, char**) + 251
14 com.trolltech.Designer 0x0001b00a main + 42
15 com.trolltech.Designer 0x00004245 start + 53Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x982ea922 kevent + 10
1 libSystem.B.dylib 0x982eb03c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x982ea4f9 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x982ea29e _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x982e9d21 _pthread_wqthread + 390
5 libSystem.B.dylib 0x982e9b66 start_wqthread + 30Thread 2:
0 libSystem.B.dylib 0x982f2046 __semwait_signal + 10
1 libSystem.B.dylib 0x982f1d02 _pthread_cond_wait + 1191
2 libSystem.B.dylib 0x982f3998 pthread_cond_wait$UNIX2003 + 73
3 QtScript 0x00ae3308 QTWTF::TCMalloc_PageHeap::scavengerThread() + 152
4 QtScript 0x00ae3351 QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) + 17
5 libSystem.B.dylib 0x982f17fd _pthread_start + 345
6 libSystem.B.dylib 0x982f1682 thread_start + 34Thread 3:
0 libSystem.B.dylib 0x982e99b2 __workq_kernreturn + 10
1 libSystem.B.dylib 0x982e9f48 _pthread_wqthread + 941
2 libSystem.B.dylib 0x982e9b66 start_wqthread + 30Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00760065 ebx: 0x90fd8ead ecx: 0x97372f40 edx: 0x5fab9289
edi: 0x01ea392c esi: 0x00760065 ebp: 0xbffff568 esp: 0xbffff548
ss: 0x0000001f efl: 0x00210206 eip: 0x974d9ed7 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x5fab92a9......
@Maybe somebody have an experience or even the instructions to make the right "official" package x86 not x64??? Thanks!
-
but things like Assistant, Linguist executed without any troubles
-
So, no one really had an experience of x86 MacOSX building of QT framework?
-
Did you try -no-prefix-install, this defaults to a "System" Install