Compare commits
No commits in common. "8333f17199123c1ffc76302bb91ec4302ea7d0a0" and "0a45cd7c22e0089a70115d39ccb49f516d303bfd" have entirely different histories.
8333f17199
...
0a45cd7c22
@ -52,13 +52,8 @@ int main(int argc, char *argv[])
|
|||||||
parser.process(a);
|
parser.process(a);
|
||||||
|
|
||||||
if (parser.isSet(supportedImageFormats)) {
|
if (parser.isSet(supportedImageFormats)) {
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
|
|
||||||
fputs(qPrintable(MainWindow::supportedImageFormats().join(QChar('\n'))), stdout);
|
fputs(qPrintable(MainWindow::supportedImageFormats().join(QChar('\n'))), stdout);
|
||||||
::exit(EXIT_SUCCESS);
|
::exit(EXIT_SUCCESS);
|
||||||
#else
|
|
||||||
QCommandLineParser::showMessageAndExit(QCommandLineParser::MessageType::Information,
|
|
||||||
MainWindow::supportedImageFormats().join(QChar('\n')));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
|
@ -9,10 +9,6 @@ TARGET = ppic
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
DEFINES += PPIC_VERSION_STRING=\\\"x.y.z\\\"
|
DEFINES += PPIC_VERSION_STRING=\\\"x.y.z\\\"
|
||||||
|
|
||||||
win32 {
|
|
||||||
DEFINES += FLAG_PORTABLE_MODE_SUPPORT=1
|
|
||||||
}
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
# any feature of Qt which has been marked as deprecated (the exact warnings
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
||||||
# depend on your compiler). Please consult the documentation of the
|
# depend on your compiler). Please consult the documentation of the
|
||||||
|
Loading…
Reference in New Issue
Block a user