diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 0dffffe49..3e6228986 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -55,6 +55,7 @@ if (WIN32) else (MINGW) list (APPEND QBT_APP_SOURCES ../qbittorrent.rc) endif (MINGW) + list(APPEND QBT_APP_SOURCES ../qbittorent.exe.manifest) endif (WIN32) if (UNIX) diff --git a/src/qbittorrent.exe.manifest b/src/qbittorrent.exe.manifest index 2f99a7ec8..7e966371c 100644 --- a/src/qbittorrent.exe.manifest +++ b/src/qbittorrent.exe.manifest @@ -1,8 +1,39 @@ - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/qbittorrent.rc b/src/qbittorrent.rc index 6b2d17f24..65e480bf7 100644 Binary files a/src/qbittorrent.rc and b/src/qbittorrent.rc differ diff --git a/winconf-msvc.pri b/winconf-msvc.pri index ca77d8b96..65af90f7d 100644 --- a/winconf-msvc.pri +++ b/winconf-msvc.pri @@ -11,7 +11,7 @@ strace_win { LIBS += dbghelp.lib } -QMAKE_LFLAGS += "/OPT:REF /OPT:ICF" +QMAKE_LFLAGS += "/OPT:REF /OPT:ICF /MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest)" RC_FILE = qbittorrent.rc