QT 3.3.4 auf Mac OS X Tiger Problem

Alles rund um die Programmierung mit Qt
Antworten
hulio
Beiträge: 12
Registriert: 12. Mai 2005 12:24

QT 3.3.4 auf Mac OS X Tiger Problem

Beitrag von hulio »

Hallo zusammen,

ich habe ein Problem beim Compilieren von Qt Projekten unter Mac OS X Tiger.

Fehlermeldung:

hobbiton:~/Development/QT_Projects/QTiresCalulator ruefranke$ make
test -d QTiresCalulator.app/Contents/MacOS/ || mkdir -p QTiresCalulator.app/Contents/MacOS/
c++ -headerpad_max_install_names -prebind -o QTiresCalulator.app/Contents/MacOS/QTiresCalulator main.o newofferingdialogimpl.o qtirescalulatormwimpl.o newcustomerdialogimpl.o customerselectiondialogimpl.o customer.o form1.o newofferingdialog.o newcustomerdialog.o customerselectiondialog.o qmake_image_collection.o moc_newofferingdialogimpl.o moc_qtirescalulatormwimpl.o moc_newcustomerdialogimpl.o moc_customerselectiondialogimpl.o moc_customer.o moc_form1.o moc_newofferingdialog.o moc_newcustomerdialog.o moc_customerselectiondialog.o -L/Developer/qt/lib -lqt-mt
ld: warning multiple definitions of symbol _dlclose
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlclose
/Developer/qt/lib/libqt-mt.dylib(dlfcn.o) definition of _dlclose
ld: warning multiple definitions of symbol _dlerror
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlerror
/Developer/qt/lib/libqt-mt.dylib(dlfcn.o) definition of _dlerror
ld: warning multiple definitions of symbol _dlopen
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlopen
/Developer/qt/lib/libqt-mt.dylib(dlfcn.o) definition of _dlopen
ld: warning multiple definitions of symbol _dladdr
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dladdr
/Developer/qt/lib/libqt-mt.dylib(dlfcn.o) definition of _dladdr
ld: warning multiple definitions of symbol _dlsym
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlsym
/Developer/qt/lib/libqt-mt.dylib(dlfcn.o) definition of _dlsym
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _dladdr used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(dlfcn.o)
symbol _dlclose used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(dlfcn.o)
symbol _dlerror used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(dlfcn.o)
symbol _dlopen used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(dlfcn.o)
symbol _dlsym used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(dlfcn.o)
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZTI14QPtrCollection
make: *** [QTiresCalulator.app/Contents/MacOS/QTiresCalulator] Error 1

Kann mir jemand helfen?

Hulio
FlorianBecker
Beiträge: 1213
Registriert: 2. Dezember 2004 10:54
Kontaktdaten:

Beitrag von FlorianBecker »

Entschuldige, das erst jetzt jemand antwortet, aber ich glaube für die Mischung Qt mit MAC sind noch nicht genügend Benutzer da. Ich kann dir jedenfalls nicht helfen.

Wobei die Fehlermeldung ganz klar einen Fehler beim Linken hat und zwar zu PtrCollection ist das die aus Qt, oder von einer anderen Lib, die du zufällig nicht mit gelinkt hast oder sowas?
macman
Beiträge: 1738
Registriert: 15. Juni 2005 13:33
Wohnort: Gütersloh
Kontaktdaten:

Re: QT 3.3.4 auf Mac OS X Tiger Problem

Beitrag von macman »

Dazu gab es folgendes auf qt-interest-Mailingliste:

Current versions of Qt are not supported on Tiger. Qt 3.3.5 and Qt 4.0.0
will be supported on Tiger:
http://www.trolltech.com/developer/platforms/osx.html

Unless you're ready to slightly modify the source code, you'll have to
use gcc 3 instead of gcc 4. If you want to use gcc 4 you'll have to add
a few more changes.

Search the list archive for instructions.
Antworten