diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-11-23 23:16:47 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-11-23 23:16:47 -0500 |
| commit | 22cc41cec5adbe95d04c79fcda40a86f0a79c5fc (patch) | |
| tree | 22805796d4e0be494efb18f21bc0d6a2c41a778f /ui/typedialog.h | |
| parent | efd35023dde49919c2f5549d5b5d3d2d6a31b1e0 (diff) | |
Don't export QThread classes from the bindings, they have issues in shiboken
Diffstat (limited to 'ui/typedialog.h')
| -rw-r--r-- | ui/typedialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/typedialog.h b/ui/typedialog.h index 00a722bc..afd95ee9 100644 --- a/ui/typedialog.h +++ b/ui/typedialog.h @@ -5,11 +5,17 @@ #include <QtCore/QStringListModel> #include <QtWidgets/QComboBox> #include <QtCore/QTimer> +#ifndef BINARYNINJAUI_BINDINGS #include <QtCore/QThread> +#endif #include "binaryninjaapi.h" #include "uitypes.h" +#ifdef BINARYNINJAUI_BINDINGS +// QThread has issues working in the bindings on some platforms +class GetTypesListThread; +#else class BINARYNINJAUIAPI GetTypesListThread: public QThread { Q_OBJECT @@ -29,6 +35,7 @@ public: const QStringList& getTypes() const { return m_allTypes; } }; +#endif class BINARYNINJAUIAPI TypeDialog: public QDialog { |
