Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a487bb45b6 |
1 changed files with 3 additions and 2 deletions
|
|
@ -55,10 +55,11 @@ int catch_all_qexec() {
|
|||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
EQL::ini(argc, argv); // best initialized here
|
||||
|
||||
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); // for Qt WebEngine
|
||||
QApplication qapp(argc, argv);
|
||||
|
||||
EQL::ini(argc, argv); // best initialized here
|
||||
|
||||
QStringList args(QCoreApplication::arguments());
|
||||
if(args.contains("-h") || (args.contains("--help"))) {
|
||||
std::cout << "Usage: eql5 [file] [-qtpl] [-qgui] [-quic file.ui [:ui-package] [:maximized]] [-slime] [-norc] [-debug-on-error]" << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue