From d5f9c3750df5bd86dfc0afdb964ab9e71f177b7e Mon Sep 17 00:00:00 2001 From: Elias Date: Sat, 15 Dec 2018 21:27:58 +0100 Subject: [PATCH] Cleanup pro to only copy windows file on windows... --- ScreenPlay/ScreenPlay.pro | 39 ++++++++++++++++----------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/ScreenPlay/ScreenPlay.pro b/ScreenPlay/ScreenPlay.pro index fb81d90c..47ce24fd 100644 --- a/ScreenPlay/ScreenPlay.pro +++ b/ScreenPlay/ScreenPlay.pro @@ -62,28 +62,28 @@ CONFIG(debug, debug|release) { install_it.path = $${OUT_PWD}/release/ } - installOut.path = $${OUT_PWD}/ +installOut.files += steam_appid.txt \ install_it.files += assets/templates/config.json \ assets/icons/favicon.ico \ steam_appid.txt \ - ThirdParty/ffmpeg/Windows/avcodec-58.dll \ - ThirdParty/ffmpeg/Windows/avdevice-58.dll \ - ThirdParty/ffmpeg/Windows/avfilter-7.dll \ - ThirdParty/ffmpeg/Windows/avformat-58.dll \ - ThirdParty/ffmpeg/Windows/avutil-56.dll \ - ThirdParty/ffmpeg/Windows/ffmpeg.exe \ - ThirdParty/ffmpeg/Windows/ffplay.exe \ - ThirdParty/ffmpeg/Windows/ffprobe.exe \ - ThirdParty/ffmpeg/Windows/postproc-55.dll \ - ThirdParty/ffmpeg/Windows/swresample-3.dll \ - ThirdParty/ffmpeg/Windows/swscale-5.dll \ - ThirdParty/OpenSSL/libeay32.dll \ - ThirdParty/OpenSSL/ssleay32.dll \ - -installOut.files += steam_appid.txt \ +win32 { + install_it.files += ThirdParty/ffmpeg/Windows/avcodec-58.dll \ + ThirdParty/ffmpeg/Windows/avdevice-58.dll \ + ThirdParty/ffmpeg/Windows/avfilter-7.dll \ + ThirdParty/ffmpeg/Windows/avformat-58.dll \ + ThirdParty/ffmpeg/Windows/avutil-56.dll \ + ThirdParty/ffmpeg/Windows/ffmpeg.exe \ + ThirdParty/ffmpeg/Windows/ffplay.exe \ + ThirdParty/ffmpeg/Windows/ffprobe.exe \ + ThirdParty/ffmpeg/Windows/postproc-55.dll \ + ThirdParty/ffmpeg/Windows/swresample-3.dll \ + ThirdParty/ffmpeg/Windows/swscale-5.dll \ + ThirdParty/OpenSSL/libeay32.dll \ + ThirdParty/OpenSSL/ssleay32.dll \ +} INSTALLS += install_it INSTALLS += installOut @@ -101,13 +101,6 @@ QT_QUICK_CONTROLS_STYLE = "Material" # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS -debug { - DEFINES += SP_DEBUG -} -release { - DEFINES += SP_RELEASE -} - win32 { win32: LIBS += -L$$PWD/ThirdParty/Steam/redistributable_bin/win64/ -lsteam_api64 DEPENDPATH += $$PWD/ThirdParty/Steam/redistributable_bin/win64