diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2017-11-17 10:45:38 -0600 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2017-11-17 10:45:38 -0600 |
| commit | 0770c8f5bf2b9338f23ca61cde18b46c85d4b389 (patch) | |
| tree | 9579c64e6311d8575c6a5ed9f0f1bdf0084e48a2 | |
| parent | 32df766e618ed1d7ab9daa6278361fb76eec49e8 (diff) | |
Compatibility with older Qt versions
| -rw-r--r-- | Attorney_Online_remake.pro | 2 | ||||
| -rw-r--r-- | main.cpp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro index 485b4de4..673ae248 100644 --- a/Attorney_Online_remake.pro +++ b/Attorney_Online_remake.pro @@ -82,6 +82,8 @@ unix:LIBS += -L$$PWD -lbass win32:LIBS += "$$PWD/bass.dll" android:LIBS += -L$$PWD\android\libs\armeabi-v7a\ -lbass +CONFIG += c++11 + ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android RESOURCES += \ @@ -10,7 +10,12 @@ int main(int argc, char *argv[]) { +#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0) + // High-DPI support is for Qt version >=5.6. + // However, many Linux distros still haven't brought their stable/LTS + // packages up to Qt 5.6, so this is conditional. AOApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#endif AOApplication main_app(argc, argv); main_app.construct_lobby(); main_app.net_manager->connect_to_master(); |
