[go: up one dir, main page]

Skip to content
Vaibhav Pandey edited this page Apr 26, 2019 · 5 revisions

This page will provide general instructions to help you build APK Studio from source code on a Qt supported platform.

Preparation

You will need to install Qt first on your system. This method can vary depending on your distribution. This can be achieved either by using official Qt releases available on this page or following below steps.

Linux (Ubuntu)

On Ubuntu/Debian systems, you may install Qt via Stephen Binner's PPA as shown below:

sudo add-apt-repository ppa:beineri/opt-qt-5.12.3-xenial
sudo apt update
sudo apt install libgl1-mesa-dev qt512base

Mac OS X

On Mac OS X systems, Qt can be installed via Homebrew as follows:

brew update
brew install qt
brew link --force qt

Windows

On Windows, official Qt releases are recommended.

Build

Once Qt is installed, you can now build it from source. Just open a Command Prompt (on Window) or Terminal (on Linux and Mac OS X) and follow given instructions:

Linux

source /opt/qt512/bin/qt512-env.sh
git clone https://github.com/vaibhavpandeyvpz/apkstudio.git
mkdir build && cd build
qmake apkstudio.pro CONFIG+=release ../apkstudio
make

Mac OS X

git clone https://github.com/vaibhavpandeyvpz/apkstudio.git
mkdir build && cd build
qmake apkstudio.pro CONFIG+=release ../apkstudio
make
macdeployqt ApkStudio.app

Windows

set QTDIR=C:\Qt\Qt5.12.3\msvc2015
set PATH="%QTDIR%\bin";%PATH%
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
git clone https://github.com/vaibhavpandeyvpz/apkstudio.git
mkdir build && cd build
qmake apkstudio.pro CONFIG+=release ../apkstudio
nmake
windeployqt release\ApkStudio.exe
Clone this wiki locally