Commit 1b525728 authored by Craig Watson's avatar Craig Watson

Fixed media playback on linux

parent 13a236d5
...@@ -91,6 +91,10 @@ int main(int argc, char *argv[]) ...@@ -91,6 +91,10 @@ int main(int argc, char *argv[])
#endif #endif
*/ */
// QT_NO_GLIB=1 is set by default on Linux, and prevents media playback
if (qEnvironmentVariableIsSet("QT_NO_GLIB"))
qunsetenv("QT_NO_GLIB");
Q_INIT_RESOURCE(OpenBoard); Q_INIT_RESOURCE(OpenBoard);
qInstallMessageHandler(ub_message_output); qInstallMessageHandler(ub_message_output);
......
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