-
Notifications
You must be signed in to change notification settings - Fork 530
Home
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.
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.
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
On Mac OS X systems, Qt can be installed via Homebrew as follows:
brew update
brew install qt
brew link --force qt
On Windows, official Qt releases are recommended.
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:
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
git clone https://github.com/vaibhavpandeyvpz/apkstudio.git
mkdir build && cd build
qmake apkstudio.pro CONFIG+=release ../apkstudio
make
macdeployqt ApkStudio.app
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