-
Notifications
You must be signed in to change notification settings - Fork 8
Building
This page will provide a common instruction-set along with screenshots to help you build APK Studio from source code. These steps & screenshots were recorded on KDE Linux distribution. However, not much of these will differ for any other Qt supported platform.
- Make sure you have GCC 4.6+, QT 5.2+
sudo apt-get install qt5-default qt4-linguist-tools qt5-qmake qttools5-dev build-essential
- Run below commands in a writable directory
git clone https://github.com/surendrajat/apkstudio.git cd apkstudio lrelease res/lang/en.ts qmake apkstudio.pro CONFIG+=release # {IF} On KDE 5.x export CXXFLAGS="$CXXFLAGS -DNO_NATIVE_DIALOG" # {/IF} make
- If build was successful you will find
apkstudio
executable in same directory. You can run it using./apkstudio
-
First off, if you do not have Qt 5 installed, download it from here and then Install it.
-
Download or Clone the source code from Github repository as follows:
git clone https://github.com/surendrajat/apkstudio
-
Fire up Qt Creator and click on Open Project as shown below.
-
Navigate to the directory where you cloned or extracted APK Studio source and select apkstudio.pro file.
-
You can select your Toolchain (Kits) or leave them default. Change your build output folder (if needed) and click Configure Project.
-
Change you build configuration from Debug to Release.
-
From the Main Menu, navigate to Tools > External > Linguist > Release Translations (lrelease) to compile language file(s).
-
From the Main Menu, select to Build > Build All.
-
Wait for the compilation to complete.
-
Click on Run from the bottom-left of the Qt Creator and APK Studio should launch now.
Copied from Original apkstudio wiki