From f862eb1c1fc4b95a755706d0384a38452b3a8f69 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 22 Sep 2015 01:58:32 +0200 Subject: [PATCH] set meta data (win32) --- general.pri | 12 ++++++++---- geocoordinatecalculator.pro | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/general.pri b/general.pri index 9b062bc..60bf445 100644 --- a/general.pri +++ b/general.pri @@ -1,5 +1,3 @@ -# template -TEMPLATE = lib #dirs UI_DIR = ./gui MOC_DIR = ./moc @@ -75,7 +73,11 @@ guiqtwidgets { DEFINES += GUI_QTWIDGETS DEFINES += MODEL_UNDO_SUPPORT } -# configuration for cross compliation with mingw-w64 +# Windows stuff: configuration for cross compliation with mingw-w64 +win32 { + QMAKE_TARGET_PRODUCT = "$${appname}" + QMAKE_TARGET_COPYRIGHT = "by $${appauthor}" +} mingw-w64-manualstrip-dll { QMAKE_POST_LINK=$${CROSS_COMPILE}strip --strip-unneeded ./release/$(TARGET); \ $${CROSS_COMPILE}strip --strip-unneeded ./release/lib$(TARGET).a @@ -84,5 +86,7 @@ mingw-w64-manualstrip-exe { QMAKE_POST_LINK=$${CROSS_COMPILE}strip --strip-unneeded ./release/$(TARGET) } mingw-w64-noversion { - VERSION = "" + TARGET_EXT = ".dll" + TARGET_VERSION_EXT = "" + CONFIG += skip_target_version_ext } diff --git a/geocoordinatecalculator.pro b/geocoordinatecalculator.pro index 66a2453..7a439be 100644 --- a/geocoordinatecalculator.pro +++ b/geocoordinatecalculator.pro @@ -2,6 +2,7 @@ projectname = geocoordinatecalculator appname = "Geo coordinate calculator" appauthor = Martchus appurl = "https://github.com/$${appauthor}/$${projectname}" +QMAKE_TARGET_DESCRIPTION = "Command line tool for basic calculations with geo coordinates such as format conversions and calculation of distance, bearing, mid point, destination and more." VERSION = 1.0.0 CONFIG += no-gui