QtWidgets: use NO_PCH_SOURCES instead of manual no-pch handling
This is how all other libraries handle this, so use it here, too. Amendsbb100c8b98774cand09d1196281. Pick-to: 6.6 6.5 Change-Id: Id3b8fa1b834e2bebe5e6ddc1f67e43c66ccd9aab Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
parent
81685b0ac0
commit
a631fef20f
|
|
@ -66,6 +66,8 @@ qt_internal_add_module(Widgets
|
|||
Qt::GuiPrivate
|
||||
PRECOMPILED_HEADER
|
||||
"kernel/qt_widgets_pch.h"
|
||||
NO_PCH_SOURCES
|
||||
compat/removed_api.cpp
|
||||
GENERATE_CPP_EXPORTS
|
||||
)
|
||||
|
||||
|
|
@ -245,15 +247,6 @@ set(qstyle_resource_files
|
|||
"styles/images/viewlist-32.png"
|
||||
)
|
||||
|
||||
set(widgets_no_pch_sources
|
||||
compat/removed_api.cpp
|
||||
)
|
||||
|
||||
foreach(src ${widgets_no_pch_sources})
|
||||
qt_update_ignore_pch_source(Widgets ${src})
|
||||
endforeach()
|
||||
|
||||
|
||||
qt_internal_add_resource(Widgets "qstyle"
|
||||
PREFIX
|
||||
"/qt-project.org/styles/commonstyle"
|
||||
|
|
|
|||
Loading…
Reference in New Issue