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 )
int
VLMCCoremain( int argc, char **argv )
{
#ifdef HAVE_GUI
QApplication app( argc, argv );
#else
QCoreApplication app( argc, argv );
#endif
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