summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtconfigmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qtconfigmacros.h')
-rw-r--r--src/corelib/global/qtconfigmacros.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/global/qtconfigmacros.h b/src/corelib/global/qtconfigmacros.h
index 0ff6e2955ae..51f6e651bc1 100644
--- a/src/corelib/global/qtconfigmacros.h
+++ b/src/corelib/global/qtconfigmacros.h
@@ -5,7 +5,10 @@
#define QTCONFIGMACROS_H
#ifdef QT_BOOTSTRAPPED
-#include <QtCore/qconfig-bootstrapped.h>
+// qconfig-bootstrapped.h is not supposed to be a part of the synced header files. So we find it by
+// the include path specified for Bootstrap library in the source tree instead of the build tree as
+// it's done for regular header files.
+#include "qconfig-bootstrapped.h"
#else
#include <QtCore/qconfig.h>
#include <QtCore/qtcore-config.h>