diff options
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r-- | qmidiplayer-desktop/CMakeLists.txt | 5 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmidiplayer.exe.xml | 29 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmidiplayer.rc | 19 | ||||
-rw-r--r-- | qmidiplayer-desktop/qmphelpwindow.hpp | 1 |
4 files changed, 48 insertions, 6 deletions
diff --git a/qmidiplayer-desktop/CMakeLists.txt b/qmidiplayer-desktop/CMakeLists.txt index ca2b6b7..037a3f1 100644 --- a/qmidiplayer-desktop/CMakeLists.txt +++ b/qmidiplayer-desktop/CMakeLists.txt @@ -44,10 +44,7 @@ set(qmpdesktop_SOURCES ) if(WIN32) - set(qmpdesktop_SOURCES - ${qmpdesktop_SOURCES} - qmidiplayer.rc - ) + list(APPEND qmpdesktop_SOURCES qmidiplayer.rc) endif(WIN32) set(CMAKE_AUTOMOC ON) diff --git a/qmidiplayer-desktop/qmidiplayer.exe.xml b/qmidiplayer-desktop/qmidiplayer.exe.xml new file mode 100644 index 0000000..78814e9 --- /dev/null +++ b/qmidiplayer-desktop/qmidiplayer.exe.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> + <assemblyIdentity type="win32" name="Chrisoft.QMidiPlayer" version="0.0.0.0" processorArchitecture="x86"/> + <description>QMidiPlayer</description> + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!-- Windows 10 --> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> + <!-- Windows 8.1 --> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> + <!-- Windows 8 --> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> + <!-- Windows 7 --> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> + </application> + </compatibility> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> + <security> + <requestedPrivileges> + <requestedExecutionLevel level="asInvoker" uiAccess="false"/> + </requestedPrivileges> + </security> + </trustInfo> + <asmv3:application> + <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> + <dpiAware>true</dpiAware> + </asmv3:windowsSettings> + </asmv3:application> +</assembly> diff --git a/qmidiplayer-desktop/qmidiplayer.rc b/qmidiplayer-desktop/qmidiplayer.rc index ddf1bc1..ee00a3d 100644 --- a/qmidiplayer-desktop/qmidiplayer.rc +++ b/qmidiplayer-desktop/qmidiplayer.rc @@ -1 +1,18 @@ -IDI_ICON1 ICON DISCARDABLE "../img/qmidiplayer.ico"
+IDI_ICON1 ICON "../img/qmidiplayer.ico" +1 VERSIONINFO +FILEVERSION RC_VER_MAJOR,RC_VER_MINOR,RC_VER_PATCH,0 +PRODUCTVERSION RC_VER_MAJOR,RC_VER_MINOR,RC_VER_PATCH,0 +FILETYPE VFT_APP +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4"" + BEGIN + VALUE "FileDescription", "QMidiPlayer" + VALUE "FileVersion", APP_VERSION + VALUE "ProductName", "QMidiPlayer" + VALUE "ProductVersion", APP_VERSION + END + END +END +1 RT_MANIFEST "qmidiplayer.exe.xml" diff --git a/qmidiplayer-desktop/qmphelpwindow.hpp b/qmidiplayer-desktop/qmphelpwindow.hpp index 2cde49d..a94da33 100644 --- a/qmidiplayer-desktop/qmphelpwindow.hpp +++ b/qmidiplayer-desktop/qmphelpwindow.hpp @@ -2,7 +2,6 @@ #define QMPHELPWINDOW_H #include <QDialog> -#define APP_VERSION "0.8.7" #ifndef BUILD_MACHINE #define BUILD_MACHINE UNKNOWN #endif |