always enable qml logging

This commit is contained in:
Michael Zanetti 2019-11-27 23:49:32 +01:00
parent ebf4d83286
commit c9d4d03de4

View File

@ -215,6 +215,9 @@ int main(int argc, char *argv[])
// }
}
// Always enable the "qml" category. It's needed for the scriptengine to snoop in on console messages.
loggingRules.append("qml.debug=true");
// Finally set the rules for the logging
QLoggingCategory::setFilterRules(loggingRules.join('\n'));