#13208 closed defect (fixed)
qt3-mac fails to build on Mac OS X 10.5 Leopard
Reported by: | levi@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.1 |
Keywords: | Cc: | C.Chryssochoidis@…, leo.studer@…, mac@…, miranda@…, mf2k (Frank Schima) | |
Port: | qt3-mac |
Description
The native aqua version of Qt does not support Mac OS 10.5. A patch that allows it to compile is available from: http://fink.cvs.sourceforge.net/*checkout*/fink/dists/10.4/unstable/main/finkinfo/graphics/qt3mac.patch2
Attachments (2)
Change History (19)
comment:1 Changed 17 years ago by nox@…
Cc: | blair@… added |
---|---|
Milestone: | MacPorts 1.5 → Port Bugs |
Summary: | qt3-mac does not support leopard → qt3-mac fails to build on Mac OS X 10.5 Leopard |
comment:2 Changed 17 years ago by macports@…
comment:3 Changed 17 years ago by macports@…
Temporarily linking these libs to /usr/lib helps ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/lib/libqt-mt.3.dylib ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/lib/libqt-mt.3.3.dylib ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/lib/libqt-mt.3.3.8.dylib
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | C.Chryssochoidis@… added |
---|
comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Leo Studer reported this problem on macports-users too.
comment:6 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | leo.studer@… added |
---|
comment:7 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mac@… added |
---|
This problem was reported again on macports-users.
comment:8 Changed 17 years ago by jmroot (Joshua Root)
Cc: | blair@… removed |
---|---|
Owner: | changed from macports-tickets@… to blair@… |
Assigning to maintainer.
comment:9 Changed 16 years ago by czhang.web@…
I adopted the patch from Hans Fugal and fixed this ticket. The files are attached.
Changed 16 years ago by czhang.web@…
Attachment: | Portfile-qt3-mac.diff added |
---|
Changed 16 years ago by czhang.web@…
Attachment: | qt3-leopard.diff added |
---|
comment:10 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | qt3-mac removed |
---|---|
Port: | qt3-mac added |
comment:11 Changed 16 years ago by miranda@…
I can see the patches on this page, but I have no idea what to do with them. I need libqt-mt.3.dylib in order to run another program, and I use OX 10.5.6. Please tell me or direct me to the instructions on what to do with the patch so I can install qt3-mac. Thanks.
comment:13 Changed 16 years ago by mf2k (Frank Schima)
I applied the patches but it fails to build for me. Mac OS X 10.5.6 Install. Xcode 3.1.2.
---> Building qt3-mac Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qt3-mac/work/qt-mac-free-3.3.8" && make symlinks src-qmake src-moc sub-src sub-tools " returned error 2 Command output: QAccessibleWidget::queryParent(QAccessibleInterface**) const in qaccessiblewidget.o QAccessibleWidgetStack::queryChild(int, QAccessibleInterface**) constin qaccessiblewidget.o "non-virtual thunk to QAccessibleObject::isValid() const", referenced from: vtable for QAccessibleWidgetin qaccessiblewidget.o vtable for QAccessibleWidgetStackin qaccessiblewidget.o vtable for QAccessibleButtonin qaccessiblewidget.o vtable for QAccessibleRangeControlin qaccessiblewidget.o vtable for QAccessibleSpinWidgetin qaccessiblewidget.o vtable for QAccessibleScrollBarin qaccessiblewidget.o vtable for QAccessibleSliderin qaccessiblewidget.o vtable for QAccessibleTextin qaccessiblewidget.o vtable for QAccessibleDisplayin qaccessiblewidget.o vtable for QAccessibleHeaderin qaccessiblewidget.o vtable for QAccessibleTabBarin qaccessiblewidget.o vtable for QAccessibleComboBoxin qaccessiblewidget.o vtable for QAccessibleTitleBarin qaccessiblewidget.o vtable for QAccessibleViewportin qaccessiblewidget.o vtable for QAccessibleScrollViewin qaccessiblewidget.o vtable for QAccessibleListBoxin qaccessiblewidget.o vtable for QAccessibleListViewin qaccessiblewidget.o vtable for QAccessibleIconViewin qaccessiblewidget.o vtable for QAccessibleTextEditin qaccessiblewidget.o vtable for QAccessiblePopupin qaccessiblemenu.o vtable for QAccessibleMenuBarin qaccessiblemenu.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [../../../accessible/libqtwidgets.dylib] Error 1 make[2]: *** [sub-widgets] Error 2 make[1]: *** [sub-accessible] Error 2 make: *** [sub-plugins] Error 2 Error: Status 1 encountered during processing.
comment:15 Changed 16 years ago by miranda@…
I got those exact same errors (see http://trac.macports.org/ticket/16109) and it was because I had already installed qt3 (ie not qt3-mac). When I uninstalled qt3, qt3-mac installed correctly.
comment:16 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Maintainer timeout. Committed revision r47854. Thanks!
Replying to levi@levidurham.com:
After manually patching the relevant parts there is still a problem. I'm on Leopard with XCode 3.0 (4176):
cd designer && make -f Makefile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/bin/uic -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/plugins listboxeditor.ui -o listboxeditor.h dyld: Library not loaded: libqt-mt.3.dylib
make[3]: * [listboxeditor.h] Trace/BPT trap make[2]: * [sub-designer] Error 2 make[1]: * [sub-designer] Error 2 make: * [sub-tools] Error 2
Error: Status 1 encountered during processing.
bash-3.2# otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/bin/uic /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8/bin/uic:
It doesn't seem to know the path to libqt-mt.3.dylib