Commit 34595867 authored by luyikei's avatar luyikei

VLMCCoreMain: Use QApplication if it has gui

parent 4108c1dd
......@@ -187,7 +187,11 @@ VLMCGuimain( int argc, char **argv )
VLMCCoremain( int argc, char **argv )
#ifdef HAVE_GUI
QApplication app( argc, argv );
QCoreApplication app( argc, argv );
Backend::IBackend* backend;
VLMCmainCommon( app, &backend );
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