File tree Expand file tree Collapse file tree 3 files changed +0
-34
lines changed Expand file tree Collapse file tree 3 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ endif()
13
13
14
14
get_target_property (qt_lib_type Qt5::Core TYPE )
15
15
16
- # TODO: After the transition from Autotools to CMake,
17
- # all `Q_IMPORT_PLUGIN` macros can be deleted from the
18
- # qt/bitcoin.cpp and qt/test/test_main.cpp source files.
19
16
function (import_plugins target )
20
17
if (qt_lib_type STREQUAL "STATIC_LIBRARY" )
21
18
set (plugins Qt5::QMinimalIntegrationPlugin )
Original file line number Diff line number Diff line change 60
60
#include < QTranslator>
61
61
#include < QWindow>
62
62
63
- #if defined(QT_STATIC)
64
- #include < QtPlugin>
65
- #if defined(QT_QPA_PLATFORM_XCB)
66
- Q_IMPORT_PLUGIN (QXcbIntegrationPlugin);
67
- #elif defined(QT_QPA_PLATFORM_WINDOWS)
68
- Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin);
69
- Q_IMPORT_PLUGIN (QWindowsVistaStylePlugin);
70
- #elif defined(QT_QPA_PLATFORM_COCOA)
71
- Q_IMPORT_PLUGIN (QCocoaIntegrationPlugin);
72
- Q_IMPORT_PLUGIN (QMacStylePlugin);
73
- #elif defined(QT_QPA_PLATFORM_ANDROID)
74
- Q_IMPORT_PLUGIN (QAndroidPlatformIntegrationPlugin)
75
- #endif
76
- #endif
77
-
78
63
// Declare meta types used for QMetaObject::invokeMethod
79
64
Q_DECLARE_METATYPE (bool *)
80
65
Q_DECLARE_METATYPE(CAmount)
Original file line number Diff line number Diff line change 28
28
29
29
#include < functional>
30
30
31
- #if defined(QT_STATIC)
32
- #include < QtPlugin>
33
- #if defined(QT_QPA_PLATFORM_MINIMAL)
34
- Q_IMPORT_PLUGIN (QMinimalIntegrationPlugin);
35
- #endif
36
- #if defined(QT_QPA_PLATFORM_XCB)
37
- Q_IMPORT_PLUGIN (QXcbIntegrationPlugin);
38
- #elif defined(QT_QPA_PLATFORM_WINDOWS)
39
- Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin);
40
- #elif defined(QT_QPA_PLATFORM_COCOA)
41
- Q_IMPORT_PLUGIN (QCocoaIntegrationPlugin);
42
- #elif defined(QT_QPA_PLATFORM_ANDROID)
43
- Q_IMPORT_PLUGIN (QAndroidPlatformIntegrationPlugin)
44
- #endif
45
- #endif
46
-
47
31
const std::function<void (const std::string&)> G_TEST_LOG_FUN{};
48
32
49
33
const std::function<std::vector<const char *>()> G_TEST_COMMAND_LINE_ARGUMENTS{};
You can’t perform that action at this time.
0 commit comments