Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Building

Surendra kumar edited this page Mar 5, 2018 · 5 revisions

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.

Building (Linux)

  • 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

Building with Qt Creator

  1. First off, if you do not have Qt 5 installed, download it from here and then Install it.

  2. Download or Clone the source code from Github repository as follows:

    git clone https://github.com/surendrajat/apkstudio
  3. Fire up Qt Creator and click on Open Project as shown below.

    Screenshot #1

  4. Navigate to the directory where you cloned or extracted APK Studio source and select apkstudio.pro file.

    Screenshot #2

  5. You can select your Toolchain (Kits) or leave them default. Change your build output folder (if needed) and click Configure Project.

    Screenshot #3

  6. Change you build configuration from Debug to Release.

    Screenshot #4

  7. From the Main Menu, navigate to Tools > External > Linguist > Release Translations (lrelease) to compile language file(s).

    Screenshot #5

  8. From the Main Menu, select to Build > Build All.

    Screenshot #6

  9. Wait for the compilation to complete.

    Screenshot #7

  10. Click on Run from the bottom-left of the Qt Creator and APK Studio should launch now.

    Screenshot #8

Copied from Original apkstudio wiki

Clone this wiki locally