Silence a few "No relevant classes found" moc warnings
Ideally we'd have a moc macro/define to opt out of the warning, but for now this will have to do. Change-Id: Iffe943191edc553840e1a83dc307926813a5d6f1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
18f491a192
commit
04506aa878
@ -26,3 +26,6 @@ qt_internal_add_module(ExamplesAssetDownloaderPrivate
|
||||
NO_GENERATE_CPP_EXPORTS
|
||||
)
|
||||
|
||||
if (NOT QT_FEATURE_process)
|
||||
set_source_files_properties(tasking/qprocesstask.h PROPERTIES SKIP_AUTOMOC TRUE)
|
||||
endif()
|
||||
|
@ -1047,6 +1047,10 @@ qt_internal_extend_target(Core CONDITION QT_FEATURE_processenvironment
|
||||
io/qprocess.cpp io/qprocess.h io/qprocess_p.h
|
||||
)
|
||||
|
||||
if (NOT QT_FEATURE_process)
|
||||
set_source_files_properties(io/qprocess.cpp io/qprocess.h PROPERTIES SKIP_AUTOMOC TRUE)
|
||||
endif()
|
||||
|
||||
qt_internal_extend_target(Core CONDITION QT_FEATURE_processenvironment AND WIN32
|
||||
SOURCES
|
||||
io/qprocess_win.cpp
|
||||
|
@ -2727,4 +2727,6 @@ QString QProcess::nullDevice()
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#if QT_CONFIG(process)
|
||||
#include "moc_qprocess.cpp"
|
||||
#endif
|
||||
|
@ -54,6 +54,10 @@ qt_internal_add_module(OpenGL
|
||||
Qt::GuiPrivate
|
||||
)
|
||||
|
||||
if (QT_FEATURE_opengles2)
|
||||
set_source_files_properties(qopengltimerquery.h PROPERTIES SKIP_AUTOMOC TRUE)
|
||||
endif()
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user