File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 66#include < QtWidgets/QCheckBox>
77#include < QtWidgets/QComboBox>
88#include < QtCore/QTimer>
9+ #ifndef BINARYNINJAUI_BINDINGS
910#include < QtCore/QThread>
11+ #endif
1012#include " binaryninjaapi.h"
1113#include " uitypes.h"
1214
15+ #ifdef BINARYNINJAUI_BINDINGS
16+ // QThread has issues working in the bindings on some platforms
17+ class GetSymbolsListThread ;
18+ #else
1319class BINARYNINJAUIAPI GetSymbolsListThread: public QThread
1420{
1521 Q_OBJECT
@@ -29,6 +35,7 @@ class BINARYNINJAUIAPI GetSymbolsListThread: public QThread
2935
3036 const QStringList& getSymbols () const { return m_allSymbols; }
3137};
38+ #endif
3239
3340
3441class BINARYNINJAUIAPI AddressDialogWithPreview: public QDialog
Original file line number Diff line number Diff line change 55#include < QtCore/QStringListModel>
66#include < QtWidgets/QComboBox>
77#include < QtCore/QTimer>
8+ #ifndef BINARYNINJAUI_BINDINGS
89#include < QtCore/QThread>
10+ #endif
911#include " binaryninjaapi.h"
1012#include " uitypes.h"
1113
1214
15+ #ifdef BINARYNINJAUI_BINDINGS
16+ // QThread has issues working in the bindings on some platforms
17+ class GetTypesListThread ;
18+ #else
1319class BINARYNINJAUIAPI GetTypesListThread: public QThread
1420{
1521 Q_OBJECT
@@ -29,6 +35,7 @@ class BINARYNINJAUIAPI GetTypesListThread: public QThread
2935
3036 const QStringList& getTypes () const { return m_allTypes; }
3137};
38+ #endif
3239
3340class BINARYNINJAUIAPI TypeDialog: public QDialog
3441{
You can’t perform that action at this time.
0 commit comments