From 22cc41cec5adbe95d04c79fcda40a86f0a79c5fc Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 23 Nov 2020 23:16:47 -0500 Subject: Don't export QThread classes from the bindings, they have issues in shiboken --- ui/addressdialog.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ui/addressdialog.h') 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 #include #include +#ifndef BINARYNINJAUI_BINDINGS #include +#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 -- cgit v1.3.1