chore: make use of CMake project version

This commit is contained in:
2024-09-17 19:28:05 +08:00
parent 3a4ea573f6
commit 4dd3f22d88
3 changed files with 8 additions and 2 deletions

View File

@ -39,6 +39,7 @@ int main(int argc, char *argv[])
}
a.setApplicationName("Pineapple Pictures");
a.setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures"));
a.setApplicationVersion(PPIC_VERSION_STRING);
// commandline options
QCommandLineOption supportedImageFormats(QStringLiteral("supported-image-formats"), QCoreApplication::translate("main", "List supported image format suffixes, and quit program."));