diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-12-26 18:48:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-26 18:48:18 +0100 |
| commit | 44dfdb89962b6fce76ac8f7f23f3ec0d19f2cf2c (patch) | |
| tree | 0b4f51956f8620e6b93f9ec8a51d9d7820e4603d | |
| parent | 452cffcac3e3c37049470fb24749729e3260cc75 (diff) | |
clarified readme build doc
| -rw-r--r-- | README_BUILD.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/README_BUILD.md b/README_BUILD.md index 6ede9f5e..fb45678f 100644 --- a/README_BUILD.md +++ b/README_BUILD.md @@ -28,14 +28,15 @@ You're gonna have a bad time. Building statically means you can distribute the final program without needing to pack alongside a lot of dynamic libraries. This is a tricky process and is not recommended unless you know what you're doing. -The general idea is to first build the entirety of Qt statically. To do this, check the desired version under "Sources" in the Qt maintenance tool. +First, you need to build the entirety of Qt statically. To do this, check the desired version under "Sources" in the Qt maintenance tool. After this is done, follow these instructions: https://dimitris.apeiro.gr/2015/06/24/build-a-static-qt5-for-windows-by-compiling/ This guide is specifically for Windows, but Qt is cross-platform and you should be good with or without some minor adjustments to the guide. -After this, you need to configure the project to use the static version of qmake (for this, look into "Qt creator build configuration") +Note that this **is** a computationally heavy process and will take a lot of time on a slow computer. +After this, you need to configure the project to use the static version of qmake (see http://doc.qt.io/qtcreator/creator-build-settings.html) BASS and BASS Opus only comes as dynamic libraries and is not open-source. That means you can't link it statically in the program. For Discord RPC, you can try downloading the source and configuring it to compile to a static library. You're gonna have to figure out how, though. -The same goes for Qt Apng Plugin. This guide does not go into detail how to configure each of these to build a static library. +The same goes for Qt Apng Plugin. This guide does not go into detail how to configure each of these to build a static library. You may have to add Q_IMPORT_PLUGIN(ApngImagePlugin); in main.cpp. See more about importing static plugins here: http://doc.qt.io/qt-5/plugins-howto.html#static-plugins |
