From 6d1182acba7091854eda894ffec9a74958ec49df Mon Sep 17 00:00:00 2001 From: kelteseth Date: Sat, 25 Aug 2018 00:48:59 +0200 Subject: [PATCH] More cleanup to better use debug/release builds --- ScreenPlay/ScreenPlay.pro | 13 +++++------- ScreenPlay/favicon.ico | Bin 0 -> 277634 bytes ScreenPlay/main.cpp | 43 ++++++++++++++++++++------------------ 3 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 ScreenPlay/favicon.ico diff --git a/ScreenPlay/ScreenPlay.pro b/ScreenPlay/ScreenPlay.pro index 7f9b24b3..7da15132 100644 --- a/ScreenPlay/ScreenPlay.pro +++ b/ScreenPlay/ScreenPlay.pro @@ -6,6 +6,8 @@ CONFIG += qtquickcompiler msvc: LIBS += -luser32 TARGETPATH = ScreenPlay +ICON = favicon.ico + SOURCES += main.cpp \ src/steamworkshop.cpp \ src/installedlistmodel.cpp \ @@ -25,8 +27,7 @@ SOURCES += main.cpp \ src/qmlutilities.cpp \ src/create.cpp -RESOURCES += \ - Resources.qrc \ +RESOURCES += Resources.qrc TRANSLATIONS = translations/ScreenPlay_en.ts \ translations/ScreenPlay_de.ts @@ -52,7 +53,7 @@ HEADERS += \ INCLUDEPATH += \ $$PWD/ThirdParty/ \ - $$PWD/src/\ + $$PWD/src/ CONFIG(debug, debug|release) { @@ -72,10 +73,8 @@ installOut.files += steam_appid.txt \ INSTALLS += install_it INSTALLS += installOut - # Additional import path used to resolve QML modules in Qt Creator's code model -QML_IMPORT_PATH += [QtAVSourceCodeDir]/qml - +QML_IMPORT_PATH = # Additional import path used to resolve QML modules just for Qt Quick Designer # QML_DESIGNER_IMPORT_PATH = @@ -95,8 +94,6 @@ release { } win32 { - INCLUDEPATH += "C:\msys64\mingw64\include" - win32: LIBS += -L$$PWD/ThirdParty/Steam/redistributable_bin/win64/ -lsteam_api64 DEPENDPATH += $$PWD/ThirdParty/Steam/redistributable_bin/win64 } diff --git a/ScreenPlay/favicon.ico b/ScreenPlay/favicon.ico new file mode 100644 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CVAn*P_^!?gE-u>C}_fIc-|H63u$CkYxkKXPY0)~JgU +#include +#include #include #include #include @@ -9,7 +10,7 @@ #include #include #include -#include + #include #include #include @@ -25,25 +26,26 @@ #include #endif -#include "create.h" -#include "installedlistfilter.h" -#include "installedlistmodel.h" -#include "monitorlistmodel.h" -#include "profilelistmodel.h" -#include "qmlutilities.h" -#include "screenplay.h" -#include "sdkconnector.h" -#include "settings.h" -#include "startuperror.h" -#include "steam/steam_api.h" -#include "steamworkshop.h" -#include "steamworkshoplistmodel.h" +#include "src/create.h" +#include "src/installedlistfilter.h" +#include "src/installedlistmodel.h" +#include "src/monitorlistmodel.h" +#include "src/profilelistmodel.h" +#include "src/qmlutilities.h" +#include "src/screenplay.h" +#include "src/sdkconnector.h" +#include "src/settings.h" +#include "src/startuperror.h" +#include "ThirdParty/steam/steam_api.h" +#include "src/steamworkshop.h" +#include "src/steamworkshoplistmodel.h" +#include "globalconstans.h" int main(int argc, char* argv[]) { QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - QGuiApplication::setAttribute(Qt::AA_UseOpenGLES); + QGuiApplication::setAttribute(Qt::AA_UseDesktopOpenGL); QGuiApplication app(argc, argv); app.setQuitOnLastWindowClosed(false); @@ -86,6 +88,7 @@ int main(int argc, char* argv[]) QDir SPBaseDir(QDir::currentPath()); #ifdef QT_DEBUG + qDebug() << "Starting in Debug mode!"; if (SPWorkingDir.cdUp()) { settings.setScreenPlayWindowPath(QUrl(SPWorkingDir.path() + "/ScreenPlayWindow/debug/ScreenPlayWindow.exe")); settings.setScreenPlayWidgetPath(QUrl(SPWorkingDir.path() + "/ScreenPlayWidget/debug/ScreenPlayWidget.exe")); @@ -97,8 +100,9 @@ int main(int argc, char* argv[]) SPBaseDir.cd("ScreenPlay"); SPBaseDir.cd("ScreenPlay"); settings.setScreenPlayBasePath(QUrl(SPBaseDir.path())); - -#elif +#endif +#ifdef QT_NO_DEBUG + qDebug() << "Starting in Release mode!"; settings.setScreenPlayBasePath(QUrl(SPWorkingDir.path())); // If we build in the release version we must be cautious! @@ -120,9 +124,8 @@ int main(int argc, char* argv[]) } else { // If started by Steam settings.setScreenPlayWindowPath(QUrl("ScreenPlayWindow.exe")); - settings.setScreenPlayWindowPath(QUrl("ScreenPlayWidget.exe")); + settings.setScreenPlayWidgetPath(QUrl("ScreenPlayWidget.exe")); } - #endif SteamWorkshop steamWorkshop(steamID, &steamWorkshopListModel, &settings); Create create(&settings, &qmlUtil);