Commit 7454240a authored by Nate Weibley's avatar Nate Weibley

Reenable writing to stderr on *nix platforms for useful debugging messages

parent e650a529
......@@ -114,6 +114,12 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
int main(int argc, char *argv[])
{
#ifdef Q_OS_UNIX
//FOrce writing to the console on UNIX/BSD devices
if (!qEnvironmentVariableIsSet("QT_LOGGING_TO_CONSOLE"))
qputenv("QT_LOGGING_TO_CONSOLE", "1");
#endif
// install the message handler
AppMessages::installHandler();
......@@ -150,7 +156,6 @@ int main(int argc, char *argv[])
break;
}
}
#endif
// The following calls to qRegisterMetaType are done to silence debug output which warns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment