diff options
-rw-r--r-- | main.cpp | 6 | ||||
-rw-r--r-- | qtpass.pro | 16 |
2 files changed, 17 insertions, 5 deletions
@@ -6,6 +6,11 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); + QCoreApplication::setOrganizationName("IJHack"); + QCoreApplication::setOrganizationDomain("ijhack.org"); + QCoreApplication::setApplicationName("QtPass"); + QCoreApplication::setApplicationVersion("0.0.1"); + //Setup and load translator for localization QTranslator translator; QString locale = QLocale::system().name(); @@ -15,7 +20,6 @@ int main(int argc, char *argv[]) MainWindow w; app.setWindowIcon(QIcon(":artwork/icon.png")); - w.checkConfig(); w.show(); @@ -8,7 +8,12 @@ QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -TARGET = qtpass +macx { + TARGET = QtPass +} else { + TARGET = qtpass +} + TEMPLATE = app SOURCES += main.cpp\ @@ -29,7 +34,10 @@ RESOURCES += resources.qrc TRANSLATIONS += localization/localization_nl_NL.ts -RC_FILE = windows.rc +win32 { + RC_FILE = windows.rc +} else:macx { + ICON = artwork/icon.icns +} -ICON += artwork/icon.svg \ - artwork/icon.icns +OTHER_FILES += LICENSE |