-
-
Notifications
You must be signed in to change notification settings - Fork 27
Building from Source
BrickStore can easily be built from source. Its only dependency is Qt:
- for the stable
main
branch, only Qt 5.15.2 is supported - for the testing
next
branch, the minimum supported version is Qt 6.2.4
The easiest way to get a Qt SDK, is to use Qt's online installer that will install everything you need: Get it from https://www.qt.io/download-open-source (scroll way down to Download the Qt Online Installer
).
- When selecting the components, make sure to enable
Qt Quick 3D
underAdditonal Libraries
, if you want to build thenext
branch. - MingW on Windows is untested - please use MSVC 2017 or 2019. If you still want to use MingW, be my guest and create a pull request!
When building on Windows, you need two additional pieces of software
- InnoSetup 6, installed to the default location: download here
- OpenSSL libraries: install the Win32/Win64 1.1 "Light" variant from SLProWeb download here
You can of course also compile against your system's Qt version to get nicer themeing integration. The needed packages for Debian and Ubuntu are:
sudo apt get install qt5-default libqt5opengl5-dev qttools5-dev qtscript5-dev qtbase5-private-dev
If something is missing, then have a look at the GitHub build action which always has the latests dependencies.
Either use Qt's Creator IDE (you got this automatically when installing an SDK) or stick to the command line:
- In Creator, just open the
brickstore.pro
, assign a Qt version to the project, then first hit the Build (Ctrl-B
) and then afterwards the Run (Ctrl-R
) button. - On the command line,
cd
to the BrickStore sources, then run./configure && make
. If you want to build against a specific Qt version, you can of course call qmake directly on thebrickstore.pro
file. After building, the binary is available in thebin
directory.