|
|
|
@ -114,6 +114,12 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
@@ -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[])
@@ -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
|
|
|
|
|