Use the provided CMake variables rather than hardcoding names for the SSL libs
[quassel.git] / dev-notes / build-static-qt.txt
1 # NOTE: Have a look at build-static-quassel.txt instead!
2
3 [16:35:11] <EgS> 1.)
4 [16:35:12] <EgS> ./configure -no-accessibility -qt-sql-sqlite -no-qt3support
5 -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg -nomake demos -nomake
6 examples -nomake gui -nomake uic -nomake opengl -nomake tools -no-opengl
7 -no-sm -no-xshape -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-xrender
8 -no-fontconfig -no-tablet -no-xkb
9 [16:35:31] <EgS> 2.)
10 [16:35:31] <EgS> $ cat QT4_TARGET_DIRECTORIES
11 [16:35:31] <EgS> src/tools/moc src/tools/rcc src/tools/uic src/corelib src/xml src/network src/sql src/plugins/codecs src/script
12 [16:35:38] <EgS> so eine datei ist sehr hilfreich
13 [16:35:40] <EgS> und dann im src dir:
14 [16:36:21] <EgS> for i in `cat /home/irc/QT4_TARGET_DIRECTORIES`; do make -C $i; done
15 [16:36:28] <EgS> naja...
16 [16:36:33] <EgS> $pfad halt :)
17 [16:36:50] <EgS> das ganze kannste dann noch mit "make install" machen
18
19 for static core:
20 ./configure -static -no-accessibility -qt-sql-sqlite -qt-zlib -no-qt3support \
21 -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg -nomake demos -nomake examples \
22 -nomake gui -nomake uic -nomake opengl -nomake tools -no-opengl -no-sm -no-xshape \
23 -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-fontconfig -no-tablet \
24 -no-xkb -no-glib -no-svg -openssl-linked -no-phonon -no-webkit -no-dbus -no-xmlpatterns \
25 -prefix /usr/local/Trolltech/qt-4.4-static
26
27 for i in `cat /home/sputnick/devel/quassel/dev-notes/QT4_TARGET_DIRECTORIES`; do make -C $i; done