WIP: removed old Qt5 binding code, fixed a segfault (static argc), enabled pya without interpreter

This commit is contained in:
Matthias Koefferlein
2018-06-02 02:03:14 +02:00
parent 3cabb23be1
commit ea31e5bcde
778 changed files with 15 additions and 810227 deletions
+2 -2
View File
@@ -1318,14 +1318,14 @@ rename "QPrintDialog", /QPrintDialog::accepted\(QPrinter/, "accepted_sig"
# special implementations:
drop_method "QApplication", /QApplication::QApplication/ # geht nicht wegen char** und wird auch nicht gebraucht wegen singleton
drop_method "QApplication", /QApplication::QApplication/ # uses char **
# provide a dummy application for the constructor for test purposes
add_native_impl("QApplication", <<'CODE', <<'DECL')
static QApplication *ctor_QApplication()
{
static char *(dummy_argv[]) = { (char *)"undefined_application" };
int argc = 1;
static int argc = 1;
return new QApplication (argc, dummy_argv);
}
CODE
+1 -1
View File
@@ -1443,7 +1443,7 @@ add_native_impl("QApplication", <<'CODE', <<'DECL')
static QApplication *ctor_QApplication()
{
static char *(dummy_argv[]) = { (char *)"undefined_application" };
int argc = 1;
static int argc = 1;
return new QApplication (argc, dummy_argv);
}
CODE