aboutsummaryrefslogtreecommitdiff
path: root/Attorney_Online_remake.pro
diff options
context:
space:
mode:
Diffstat (limited to 'Attorney_Online_remake.pro')
-rw-r--r--Attorney_Online_remake.pro19
1 files changed, 16 insertions, 3 deletions
diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro
index 62a7dc98..2e8a5f82 100644
--- a/Attorney_Online_remake.pro
+++ b/Attorney_Online_remake.pro
@@ -87,13 +87,26 @@ HEADERS += lobby.h \
aocaseannouncerdialog.h
# 1. You need to get BASS and put the x86 bass DLL/headers in the project root folder
-# AND the compilation output folder. If you want a static link, you'll probably
-# need the .lib file too. MinGW-GCC is really finicky finding BASS, it seems.
+# AND the compilation output folder. If you are compiling statically, you'll probably
+# need the .lib file too. MinGW-GCC is really finicky finding BASS, it seems. However,
+# even with the .lib file, you still need the DLL in the final output.
# 2. You need to compile the Discord Rich Presence SDK separately and add the lib/headers
# in the same way as BASS. Discord RPC uses CMake, which does not play nicely with
-# QMake, so this step must be manual.
+# QMake, so this step must be manual. If you are compiling dynamically, it's fine to
+# use the prebuilt libraries.
+# 3. You also need to build QtApng (https://github.com/Skycoder42/QtApng).
+# Optionally, you may install it in /usr/share/qt5/plugins/imageformats, but if you do
+# so, then you must patch qapng.pri, qapngd.pri, png.pri, pngd.pri, z.pri, and zd.pri
+# such that they no longer point to the builds in the original project directory
+# (by removing those respective entries in QMAKE_PRL_LIBS and replacing them with
+# something like `-L$$[QT_INSTALL_LIBS] -lpng -lz`).
+#
+# Naturally, the build process becomes significantly less convoluted if you simply
+# compile dynamically. If your primary distribution method is via the launcher, then
+# a simple dynamic compilation is recommended.
unix:LIBS += -L$$PWD -lbass -ldiscord-rpc
win32:LIBS += -L$$PWD "$$PWD/bass.dll" -ldiscord-rpc
+INCLUDEPATH += $$PWD/include
CONFIG += c++11