always enable qml logging
This commit is contained in:
parent
ebf4d83286
commit
c9d4d03de4
@ -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'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user