Skip to content
Snippets Groups Projects
Commit 34595867 authored by luyikei's avatar luyikei
Browse files

VLMCCoreMain: Use QApplication if it has gui

parent 4108c1dd
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment