diff --git a/gpxsee.pro b/gpxsee.pro index 297eedba..00aca9a7 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -1,4 +1,5 @@ TARGET = GPXSee +VERSION = 2.13 QT += core \ gui \ network @@ -72,4 +73,5 @@ macx { ICON = icons/gpxsee.icns QMAKE_INFO_PLIST = Info.plist } -win32:RC_FILE = gpxsee.rc +win32:RC_ICONS = icons/gpxsee.ico +DEFINES += APP_VERSION=\\\"$$VERSION\\\" diff --git a/gpxsee.rc b/gpxsee.rc deleted file mode 100644 index afc1964a..00000000 --- a/gpxsee.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "icons/gpxsee.ico" \ No newline at end of file diff --git a/src/config.h b/src/config.h index 82268744..267130f7 100644 --- a/src/config.h +++ b/src/config.h @@ -8,7 +8,6 @@ #define APP_NAME "GPXSee" #define APP_HOMEPAGE "http://tumic.wz.cz/gpxsee" -#define APP_VERSION "2.13" #define FONT_FAMILY "Arial" #define FONT_SIZE 12