Enable debug output when using emulator
This commit is contained in:
parent
4a05dd6725
commit
709e384075
1 changed files with 6 additions and 2 deletions
|
@ -62,8 +62,12 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
if(!qEnvironmentVariableIsSet(logEnvVar))
|
||||
qputenv(logEnvVar, "*.info=false;*.debug=false");
|
||||
if(!qEnvironmentVariableIsSet(logEnvVar)) {
|
||||
if(!QHostInfo::localHostName().contains("SailfishEmul"))
|
||||
qputenv(logEnvVar, "*.info=false;*.debug=false");
|
||||
else
|
||||
qputenv(logEnvVar, "*.info=true");
|
||||
}
|
||||
|
||||
|
||||
QGuiApplication* app = SailfishApp::application(argc, argv);
|
||||
|
|
Loading…
Reference in a new issue