summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qmachparser.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-11-15 21:04:20 -0800
committerThiago Macieira <thiago.macieira@intel.com>2021-11-19 22:51:02 -0800
commit235173175b64ea4a5571373a4c37c35b4e18d14f (patch)
tree48f3d6a82a9582594a21c78463b249966361553b /src/corelib/plugin/qmachparser.cpp
parent09c58614db074b99f327063424e480e9842e1e45 (diff)
CMake: reorganize the QT_FEATURE_library portion of CMakeLists.txt
No need to attempt to compile both qelfparser and qmachoparser in all systems. Change-Id: Iccb47e5527544b6fbd75fffd16b7ee5a1555a7a8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/plugin/qmachparser.cpp')
-rw-r--r--src/corelib/plugin/qmachparser.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/plugin/qmachparser.cpp b/src/corelib/plugin/qmachparser.cpp
index 82dc4bf1c28..f864f2610ea 100644
--- a/src/corelib/plugin/qmachparser.cpp
+++ b/src/corelib/plugin/qmachparser.cpp
@@ -39,8 +39,6 @@
#include "qmachparser_p.h"
-#if defined(Q_OF_MACH_O)
-
#include <qendian.h>
#include <mach-o/loader.h>
@@ -213,5 +211,3 @@ QLibraryScanResult QMachOParser::parse(const char *m_s, ulong fdlen, QString *e
}
QT_END_NAMESPACE
-
-#endif