summaryrefslogtreecommitdiffstats
path: root/src/sdk/sdkapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdk/sdkapp.h')
-rw-r--r--src/sdk/sdkapp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sdk/sdkapp.h b/src/sdk/sdkapp.h
index ad40e0a42..e35759e0f 100644
--- a/src/sdk/sdkapp.h
+++ b/src/sdk/sdkapp.h
@@ -173,6 +173,16 @@ public:
qCDebug(QInstaller::lcInstallerInstallLog).noquote() << "Arguments:" <<
QCoreApplication::arguments().join(QLatin1String(", "));
+ for (auto &optionName : m_parser.optionNames()) {
+ if (isCommandLineInterface)
+ break;
+
+ if (m_parser.optionContextFlags(optionName) & CommandLineParser::CommandLineOnly) {
+ qCWarning(QInstaller::lcInstallerInstallLog).nospace() << "Found command line only option "
+ << optionName << ". This will not have any effect when running in graphical mode.";
+ }
+ }
+
dumpResourceTree();
SDKApp::registerMetaResources(manager.collectionByName("QResources"));