Enable QT_TYPESAFE_FLAGS for bootstrap and QtCore

Change-Id: I5c64a29ffecece9e527f5db78cceb912836153d3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Giuseppe D'Angelo 2021-05-02 03:19:46 +02:00
parent 4cc2f48628
commit 7efacc7cbe
2 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,7 @@ qt_internal_add_module(Core
DEFINES
QT_NO_FOREACH
QT_NO_USING_NAMESPACE
QT_TYPESAFE_FLAGS
INCLUDE_DIRECTORIES
"${CMAKE_CURRENT_BINARY_DIR}/global" # special case
"${CMAKE_CURRENT_BINARY_DIR}/kernel" # for moc_qobject.cpp to be found by qobject.cpp

View File

@ -99,6 +99,7 @@ qt_internal_extend_target(Bootstrap
../../xml/dom/qdom.cpp
DEFINES
HAVE_CONFIG_H
QT_TYPESAFE_FLAGS
PUBLIC_DEFINES # special case
QT_VERSION_MAJOR=${PROJECT_VERSION_MAJOR} # special case
QT_VERSION_MINOR=${PROJECT_VERSION_MINOR} # special case