mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
some fixes for Windows
This commit is contained in:
parent
1ebfd77f35
commit
383382321c
7 changed files with 16 additions and 6 deletions
|
|
@ -13,9 +13,8 @@ QObject* ini() {
|
|||
cpp = new CPP;
|
||||
|
||||
// needed for QMessageBox
|
||||
static int argc = 1;
|
||||
static char* argv[] = {"cpp"};
|
||||
new QApplication(argc, argv);
|
||||
static int argc = 0;
|
||||
new QApplication(argc, nullptr);
|
||||
}
|
||||
return cpp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue