forked from trikset/trik-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Linux build from console
IKhonakhbeeva edited this page Apr 21, 2019
·
3 revisions
Download Qt installer
Run it and get packages "Deskktop gcc 64-bit" and "Qt Script" (from any Qt version)
$ sudo apt-get install git libgl-dev libpulse-dev libusb-1.0-0-dev
$ git clone https://github.com/trikset/trik-studio/ [<clone_dir>]
$ cd <clone_dir>
$ git submodule update --init --recursive
-
$ ./buildScripts/with_pyenv python --version
This must return "Python 3.5.6"
If not - read the pyenv manual
$ mkdir <build_dir> && cd <build_dir>
-
$ <clone_dir>/buildScripts/with_pyenv <qt_bin_dir>/qmake <clone_dir>/studio.pro CONFIG+=release
Where <qt_bin_dir> is something like~/Qt/5.11.3/gcc_64/bin
$ <clone_dir>/buildScripts/with_pyenv make -j$(nproc) qmake_all
$ <clone_dir>/buildScripts/with_pyenv make -j$(nproc) all