So, da mir das gesamte Static gelinkt einfach zu gross war (Die examples werden 5gb und grösser!?!?) hab ich mich entschieden einfach nur die Bibliothek statisch zu linken.
Dann ma los:
Code: Alles auswählen
./configure -fast -static -qt-gif -qt-zlib -qt-libpng -qt-libjpeg -cups -nis -v
./configure -fast -static -qt-gif -qt-zlib -qt-libpng -qt-libjpeg -cups -nis -continueCode: Alles auswählen
make sub-src
make sub-tools
make sub-qmakeCode: Alles auswählen
sudo make install_subtargets
sudo make install_tools
sudo make install_mkspecsCode: Alles auswählen
qmake -spec macx-g++
qmake
make -lstat.a
Code: Alles auswählen
ld: table of contents for archive: /usr/local/Trolltech/Qt-4.0.1/lib/libQtGui_debug.a is out of date; rerun ranlib(1) (can't load from it)
ld: table of contents for archive: /usr/local/Trolltech/Qt-4.0.1/lib/libQtCore_debug.a is out of date; rerun ranlib(1) (can't load from it)
make: *** [test.app/Contents/MacOS/test] Error 1MfG Matthieu