Commit 95878a18 authored by Don Gagne's avatar Don Gagne

Merge pull request #3176 from NaterGator/unixconsole

Reenable writing to stderr on *nix platforms for useful debugging
parents e650a529 7454240a
......@@ -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");
// install the message handler
......@@ -150,7 +156,6 @@ int main(int argc, char *argv[])
// 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