[gelöst ] Qt 4.3.x unter Mac OS 10.5, Probleme häufen sich
Verfasst: 16. November 2007 18:56
Hallo,
ich wollte grade Qt unter Mac OS 10.5 kompilieren. Habe dazu die selbe Konfiguration wie unter 10.4 auf meinem alten PowerBook verwendet:Einzige Abweichung ist, dass ich auf dem PowerBook -arch ppc angegeben hatte und nicht universal.
Anfängliche Schwirigkeiten gab es auch mit 'make', welches nicht gefunden wurde. Habe dann in meiner .profile Datei die PATH Variable angegeben.
Jetzt bekomme ich einen Fehler in qvector.h
Liegt es an meiner Konfiguration oder gibt es Inkompatibilitäten zu 10.5?
Verwendet habe ich die qt-mac-opensource-src-4.3.2.
Gruß,
M
ich wollte grade Qt unter Mac OS 10.5 kompilieren. Habe dazu die selbe Konfiguration wie unter 10.4 auf meinem alten PowerBook verwendet:
Code: Alles auswählen
./configure -prefix /Developer/qt432 -release -static -no-qt3support -qt-zlib -no-stl -qt-sql-sqlite -no-gif -no-libmng -no-libtiff -no-libjpeg -qt-libpng -no-sse -no-sse2 -no-3dnow -no-openssl -no-qdbus -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk && makeAnfängliche Schwirigkeiten gab es auch mit 'make', welches nicht gefunden wurde. Habe dann in meiner .profile Datei die PATH Variable angegeben.
Jetzt bekomme ich einen Fehler in qvector.h
Code: Alles auswählen
instantiated from here
../../include/QtCore/../../src/corelib/tools/qlist.h:350: error: no matching function for call to ‘operator new(long unsigned int, QList<QMacMime*>::Node*)’
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
../../include/QtCore/../../src/corelib/tools/qvector.h: In member function ‘void QVector<T>::realloc(int, int) [with T = QPainterPath::Element]’:
../../include/QtCore/../../src/corelib/tools/qvector.h:297: instantiated from ‘void QVector<T>::detach_helper() [with T = QPainterPath::Element]’
../../include/QtCore/../../src/corelib/tools/qvector.h:120: instantiated from ‘void QVector<T>::detach() [with T = QPainterPath::Element]’
../../include/QtCore/../../src/corelib/tools/qvector.h:219: instantiated from ‘T* QVector<T>::begin() [with T = QPainterPath::Element]’
../../include/QtCore/../../src/corelib/tools/qvector.h:232: instantiated from ‘T& QVector<T>::first() [with T = QPainterPath::Element]’
../../include/QtGui/../../src/gui/painting/qpainterpath.h:329: instantiated from here
../../include/QtCore/../../src/corelib/tools/qvector.h:427: error: no matching function for call to ‘operator new(long unsigned int, QPainterPath::Element*&)’
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
../../include/QtCore/../../src/corelib/tools/qvector.h:297: instantiated from ‘void QVector<T>::detach_helper() [with T = QPainterPath::Element]’
../../include/QtCore/../../src/corelib/tools/qvector.h:120: instantiated from ‘void QVector<T>::detach() [with T = QPainterPath::Element]’
../../include/QtCore/../../src/corelib/tools/qvector.h:219: instantiated from ‘T* QVector<T>::begin() [with T = QPainterPath::Element]’
../../include/QtCore/../../src/corelib/tools/qvector.h:232: instantiated from ‘T& QVector<T>::first() [with T = QPainterPath::Element]’
../../include/QtGui/../../src/gui/painting/qpainterpath.h:329: instantiated from here
../../include/QtCore/../../src/corelib/tools/qvector.h:468: error: no matching function for call to ‘operator new(long unsigned int, QPainterPath::Element*&)’
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
../../include/QtCore/../../src/corelib/tools/qvector.h:475: error: no matching function for call to ‘operator new(long unsigned int, QPainterPath::Element*&)’
<built-in>:0: note: candidates are: void* operator new(long unsigned int)
lipo: can't open input file: /var/folders/vp/vpDCQvioGDyEjr-LLcJEDE+++TI/-Tmp-//ccuw5X64.out (No such file or directory)
make[2]: *** [.obj/release-static/qcursor_mac.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
Verwendet habe ich die qt-mac-opensource-src-4.3.2.
Gruß,
M