Launcher: Disable Qt 5.15 QML warnings
This commit is contained in:
parent
aea0a1a12a
commit
3b5b301e98
1 changed files with 5 additions and 0 deletions
|
@ -252,6 +252,11 @@ void initApp(int& argc, char** argv, bool doInitQSettings)
|
||||||
if (!qtInitDone) {
|
if (!qtInitDone) {
|
||||||
qtInitDone = true;
|
qtInitDone = true;
|
||||||
|
|
||||||
|
// Disable Qt 5.15 warnings about obsolete Connections/onFoo: syntax
|
||||||
|
// we cannot use the new syntax
|
||||||
|
// as long as we have to support Qt 5.9
|
||||||
|
qputenv("QT_LOGGING_RULES", "qt.qml.connections.warning=false");
|
||||||
|
|
||||||
initQtResources(); // can't be called from a namespace
|
initQtResources(); // can't be called from a namespace
|
||||||
|
|
||||||
s_argc = argc; // QApplication only stores a reference to argc,
|
s_argc = argc; // QApplication only stores a reference to argc,
|
||||||
|
|
Loading…
Add table
Reference in a new issue