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/addressdialog.h | |
| parent | efd35023dde49919c2f5549d5b5d3d2d6a31b1e0 (diff) | |
Don't export QThread classes from the bindings, they have issues in shiboken
Diffstat (limited to 'ui/addressdialog.h')
| -rw-r--r-- | ui/addressdialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/addressdialog.h b/ui/addressdialog.h index 212b7a7a..0d8991b5 100644 --- a/ui/addressdialog.h +++ b/ui/addressdialog.h @@ -6,10 +6,16 @@ #include <QtWidgets/QCheckBox> #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 GetSymbolsListThread; +#else class BINARYNINJAUIAPI GetSymbolsListThread: public QThread { Q_OBJECT @@ -29,6 +35,7 @@ public: const QStringList& getSymbols() const { return m_allSymbols; } }; +#endif class BINARYNINJAUIAPI AddressDialogWithPreview: public QDialog |
