)
Quoted
Originally posted by daveshawley
Here's what I had to do to build 3.3.4 under Tiger. Just a few simple modifications and a
bunch of tries... looks okay though. Your mileage may vary.
src/kernel/qaccessible.cpp:
- add an explicit type for the text_bindings array near line 189
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
struct {
int qt;
CFStringRef mac;
bool settable;
} text_bindings[][10] = {
{ { QAccessible::MenuBar, kAXMenuBarRole, false },
{ QAccessible::Value, kAXValueAttribute, true },
{ QAccessible::Description, kAXRoleDescriptionAttribute, false },
{ QAccessible::Help, kAXHelpAttribute, false },
{ -1, NULL, false }
},
{ { QAccessible::ScrollBar, kAXScrollBarRole, false },
...
|

This post has been edited 1 times, last edit by "daveshawley" (Jun 12th 2005, 10:30pm)
|
|
Source code |
1 2 3 4 5 6 |
c++ -c -o qstring.o -DQT_MACOSX_VERSION= -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/Developer/qt/include/qmake -I/Developer/qt/include -I/Developer/qt/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Developer/qt/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP /Developer/qt/src/tools/qstring.cpp /Developer/qt/src/tools/qstring.cpp:2926:75: error: operator '&&' has no right operand /Developer/qt/src/tools/qstring.cpp:3025:75: error: operator '&&' has no right operand /Developer/qt/src/tools/qstring.cpp:3081:75: error: operator '&&' has no right operand make: *** [qstring.o] Error 1 qmake failed to build. Aborting. |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
c++ -c -pipe -Wall -W -Os -fPIC -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQMAC_ONE_PIXEL_LOCK -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/Developer/qt/mkspecs/macx-g++ -I. -I3rdparty/libpng -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qsocketdevice_unix.o network/qsocketdevice_unix.cpp network/qsocketdevice_unix.cpp: In function `int qt_socket_accept(int, sockaddr*, int*)': network/qsocketdevice_unix.cpp:47: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:47: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `QSocketDevice::Protocol QSocketDevice::getProtocol() const': network/qsocketdevice_unix.cpp:132: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:132: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `int QSocketDevice::option(QSocketDevice::Option) const': network/qsocketdevice_unix.cpp:324: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:324: error: initializing argument 5 of 'int getsockopt(int, int, int, void*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `virtual Q_LONG QSocketDevice::readBlock(char*, Q_ULONG)': network/qsocketdevice_unix.cpp:784: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:784: error: initializing argument 6 of 'ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp: In member function `void QSocketDevice::fetchConnectionParameters()': network/qsocketdevice_unix.cpp:1053: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:1053: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)' network/qsocketdevice_unix.cpp:1057: error: invalid conversion from 'int*' to 'socklen_t*' network/qsocketdevice_unix.cpp:1057: error: initializing argument 3 of 'int getpeername(int, sockaddr*, socklen_t*)' make[2]: *** [.obj/release-shared-mt/qsocketdevice_unix.o] Error 1 make[1]: *** [sub-src] Error 2 make: *** [init] Error 2 |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
rm -f libqui.1.0.0.dylib libqui.dylib libqui.1.dylib libqui.1.0.dylib c++ -headerpad_max_install_names -prebind -seg1addr 0xB9000000 -prebind -dynamiclib -single_module -compatibility_version 1.0 -current_version 1.0.0 -install_name libqui.1.dylib -o libqui.1.0.0.dylib .obj/release-shared-mt/qwidgetfactory.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/uib.o .obj/release-shared-mt/database.o .obj/release-shared-mt/moc_database2.o -L/Developer/qt/lib -lqt-mt -lz -framework OpenGL -framework AGL ln -s libqui.1.0.0.dylib libqui.dylib ln -s libqui.1.0.0.dylib libqui.1.dylib ln -s libqui.1.0.0.dylib libqui.1.0.dylib rm -f ../../../lib/libqui.1.0.0.dylib rm -f ../../../lib/libqui.dylib rm -f ../../../lib/libqui.1.dylib rm -f ../../../lib/libqui.1.0.dylib mv -f libqui.1.0.0.dylib libqui.dylib libqui.1.dylib libqui.1.0.dylib ../../../lib/ cd designer && make -f Makefile /Developer/qt/bin/uic -L /Developer/qt/plugins listboxeditor.ui -o listboxeditor.h dyld: Symbol not found: __ZTI11QTextStream Referenced from: /Developer/qt/bin/uic Expected in: /usr/local/lib/libqt-mt.3.dylib make[4]: *** [listboxeditor.h] Trace/BPT trap make[3]: *** [sub-designer] Error 2 make[2]: *** [sub-designer] Error 2 make[1]: *** [sub-tools] Error 2 make: *** [init] Error 2 |
This post has been edited 1 times, last edit by "bennyp" (Jun 17th 2005, 12:31pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
cd designer && make -f Makefile /Developer/qt/bin/uic -L /Developer/qt/plugins listboxeditor.ui -o listboxeditor.h dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /usr/local/lib/libJPEG.dylib make[4]: *** [listboxeditor.h] Trace/BPT trap make[3]: *** [sub-designer] Error 2 make[2]: *** [sub-designer] Error 2 make[1]: *** [sub-tools] Error 2 make: *** [init] Error 2 |