added copyright information and version number

This commit is contained in:
Herwig Birke
2018-06-13 15:15:28 +02:00
parent a34e7a3eab
commit 0e1ce0c488
2 changed files with 13 additions and 4 deletions
+6 -4
View File
@@ -18,6 +18,12 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setApplicationVersion(APP_VERSION);
a.setApplicationDisplayName("storyWriter");
a.setOrganizationName("WIN-DESIGN");
a.setOrganizationDomain("windesign.at");
a.setApplicationName("storyWriter");
#ifdef SHOW_SPLASH
QPixmap pixmap(":/images/splash.png");
#else
@@ -45,10 +51,6 @@ int main(int argc, char *argv[])
lpSplash->showStatusMessage(QObject::tr("<center>initializing...</denter>"));
QCoreApplication::setOrganizationName("WIN-DESIGN");
QCoreApplication::setOrganizationDomain("windesign.at");
QCoreApplication::setApplicationName("storyWriter");
QSettings settings;
cMainWindow w(lpSplash);
+7
View File
@@ -4,6 +4,12 @@
#
#-------------------------------------------------
VERSION = 0.0.1.0
QMAKE_TARGET_COMPANY = WIN-DESIGN
QMAKE_TARGET_PRODUCT = storyWriter
QMAKE_TARGET_DESCRIPTION = storyWriter
QMAKE_TARGET_COPYRIGHT = (c) 2018 WIN-DESIGN
QT += core gui xml sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@@ -17,6 +23,7 @@ qtHaveModule(printsupport): QT += printsupport
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.