diff options
Diffstat (limited to 'src/corelib/global/qtconfiginclude.h')
-rw-r--r-- | src/corelib/global/qtconfiginclude.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/corelib/global/qtconfiginclude.h b/src/corelib/global/qtconfiginclude.h new file mode 100644 index 0000000000..8b22a47ac7 --- /dev/null +++ b/src/corelib/global/qtconfiginclude.h @@ -0,0 +1,22 @@ +// Copyright (C) 2022 Intel Corporation +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +#ifndef QTCONFIGINCLUDE_H +#define QTCONFIGINCLUDE_H + +#if 0 +# pragma qt_sync_stop_processing +#endif + +#include <QtCore/qconfig.h> + +#ifdef QT_BOOTSTRAPPED +// 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/qtcore-config.h> +#endif + +#endif // QTCONFIGINCLUDE_H |