From ebdbcc2a7f00d3d149883c1d26cb6c8c36d66a97 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 12 Feb 2015 11:07:04 +0000 Subject: [PATCH] static link for Qt 5.4.0 done --- QTCREATOR.md | 2 +- Telegram/FixMake.sh | 8 ++++++++ Telegram/FixMake32.sh | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/QTCREATOR.md b/QTCREATOR.md index 722415730d..acf4eda4e8 100644 --- a/QTCREATOR.md +++ b/QTCREATOR.md @@ -96,7 +96,7 @@ Apply patch: Install some packages for Qt (see **/home/user/TBuild/Libraries/QtStatic/qtbase/src/plugins/platforms/xcb/README**) - sudo apt-get install libxcb1-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-util0-dev libxrender-dev libasound-dev libpulse-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-randr0-dev libx11-xcb-dev + sudo apt-get install libxcb1-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-util0-dev libxrender-dev libasound-dev libpulse-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-randr0-dev libx11-xcb-dev libffi-dev In Terminal go to **/home/user/TBuild/Libraries/QtStatic** and there run diff --git a/Telegram/FixMake.sh b/Telegram/FixMake.sh index 1e14d64f72..e54dd57c51 100755 --- a/Telegram/FixMake.sh +++ b/Telegram/FixMake.sh @@ -15,6 +15,14 @@ Replace '\-lz' '\/usr\/lib\/x86_64\-linux\-gnu\/libz\.a' Replace '\-lssl' '\/usr\/lib\/x86_64\-linux\-gnu\/libssl\.a' Replace '\-lcrypto' '\/usr\/lib\/x86_64\-linux\-gnu\/libcrypto\.a' Replace '\-lexif' '\/usr\/lib\/x86_64\-linux\-gnu\/libexif\.a' +Replace '\-lgobject\-2\.0' '\/usr\/lib\/x86_64\-linux\-gnu\/libgobject\-2\.0\.a \/usr\/lib\/x86_64\-linux\-gnu\/libffi\.a' +Replace '\-lXi' '\/usr\/lib\/x86_64\-linux\-gnu\/libXi\.a' +Replace '\-lSM' '\/usr\/lib\/x86_64\-linux\-gnu\/libSM\.a' +Replace '\-lICE' '\/usr\/lib\/x86_64\-linux\-gnu\/libICE\.a' +Replace '\-lfontconfig' '\/usr\/lib\/x86_64\-linux\-gnu\/libfontconfig\.a \/usr\/lib\/x86_64\-linux\-gnu\/libexpat\.a' +Replace '\-lfreetype' '\/usr\/lib\/x86_64\-linux\-gnu\/libfreetype\.a' +Replace '\-lpng' '\/usr\/lib\/x86_64\-linux\-gnu\/libpng\.a' +Replace '\-lXext' '\/usr\/lib\/x86_64\-linux\-gnu\/libXext\.a' Replace '\-lopusfile' '\/usr\/local\/lib\/libopusfile\.a' Replace '\-lopus' '\/usr\/local\/lib\/libopus\.a' Replace '\-lopenal' '\/usr\/local\/lib\/libopenal\.a' diff --git a/Telegram/FixMake32.sh b/Telegram/FixMake32.sh index 936b8de2b4..02e40de6d4 100755 --- a/Telegram/FixMake32.sh +++ b/Telegram/FixMake32.sh @@ -15,6 +15,14 @@ Replace '\-lz' '\/usr\/lib\/i386\-linux\-gnu\/libz\.a' Replace '\-lssl' '\/usr\/lib\/i386\-linux\-gnu\/libssl\.a' Replace '\-lcrypto' '\/usr\/lib\/i386\-linux\-gnu\/libcrypto\.a' Replace '\-lexif' '\/usr\/lib\/i386\-linux\-gnu\/libexif\.a' +Replace '\-lgobject\-2\.0' '\/usr\/lib\/i386\-linux\-gnu\/libgobject\-2\.0\.a \/usr\/lib\/i386\-linux\-gnu\/libffi\.a' +Replace '\-lXi' '\/usr\/lib\/i386\-linux\-gnu\/libXi\.a' +Replace '\-lSM' '\/usr\/lib\/i386\-linux\-gnu\/libSM\.a' +Replace '\-lICE' '\/usr\/lib\/i386\-linux\-gnu\/libICE\.a' +Replace '\-lfontconfig' '\/usr\/lib\/i386\-linux\-gnu\/libfontconfig\.a \/usr\/lib\/i386\-linux\-gnu\/libexpat\.a' +Replace '\-lfreetype' '\/usr\/lib\/i386\-linux\-gnu\/libfreetype\.a' +Replace '\-lpng' '\/usr\/lib\/i386\-linux\-gnu\/libpng\.a' +Replace '\-lXext' '\/usr\/lib\/i386\-linux\-gnu\/libXext\.a' Replace '\-lopusfile' '\/usr\/local\/lib\/libopusfile\.a' Replace '\-lopus' '\/usr\/local\/lib\/libopus\.a' Replace '\-lopenal' '\/usr\/local\/lib\/libopenal\.a'