Skip to content

Instantly share code, notes, and snippets.

@bjoern-r
Last active January 15, 2016 13:13
Show Gist options
  • Save bjoern-r/e0ce38024d9f0a81d135 to your computer and use it in GitHub Desktop.
Save bjoern-r/e0ce38024d9f0a81d135 to your computer and use it in GitHub Desktop.
git clone qt
git checkout stable
perl init-repository -no-webkit
./configure -opensource -confirm-license -no-accessibility -qt-sql-sqlite -qt-zlib -no-gif -no-libpng -no-libjpeg -nomake examples -no-gui -nomake tools -no-opengl -no-sm -no-xshape -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-fontconfig -no-xkb -no-glib -openssl-linked -no-dbus -static -prefix /opt/Qt-5.3.1-static -no-xcb -no-eglfs -no-kms -no-directfb -no-linuxfb -no-cups -no-iconv -no-alsa
make -j 4
cd qtbase
make install
cd ../qtscript
make -j 4
make install
cherckout quassel
cd quassel
mkdir bild1
cd build1
CMAKE_STATIC_LINKER_FLAGS="-L./staticlibs/ -lssl -lcrypto -pthread" CMAKE_PREFIX_PATH=/opt/Qt-5.3.1-static/lib/cmake cmake ../ -DUSE_QT5=ON -DSTATIC=1 -DWANT_QTCLIENT=0 -DWANT_MONO=0 -DQT=/opt/Qt-5.3.1-static/
mkdir staticlibs
cd staticlibs
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.a .
ln -s /usr/lib/x86_64-linux-gnu/libssl.a .
cd ..
make
http://nixda.biz/quasselcore-static-0.11-pre+109_x64.tar.gz
@bjoern-r
Copy link
Author

The current version does not build statically...
However i've setup a ppa with an qt5 only version of quasselcore:
https://launchpad.net/~bjoern-riemer/+archive/ubuntu/myppa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment