added copyright information and version number
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user