forked from qt-creator/qt-creator
Get rid of EXPLICIT_MOC
Otherwise it generates the following: Generating moc_pluginmanager_p.cpp [...]/pluginmanager_p.h: note: No relevant classes found. No output generated. The same for: moc_cppquickfixprojectsettingswidget.cpp / cppquickfixprojectsettingswidget.h moc_imageviewer.cpp / imageviewer.h moc_vcpkg_test.cpp / vcpkg_test.h moc_clangformat-test.cpp / clangformat-test.h during compilation. Change-Id: I65ea5a7caeb0607972c09de1de66337cb7df59b8 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -15,7 +15,6 @@ add_qtc_library(ExtensionSystem
|
||||
pluginview.cpp pluginview.h
|
||||
EXPLICIT_MOC
|
||||
pluginmanager.h
|
||||
pluginmanager_p.h
|
||||
SKIP_AUTOMOC pluginmanager.cpp
|
||||
)
|
||||
|
||||
|
@@ -37,5 +37,4 @@ extend_qtc_plugin(ClangFormat
|
||||
tests/clangformat-test.h
|
||||
DEFINES
|
||||
TESTDATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/tests/data"
|
||||
EXPLICIT_MOC tests/clangformat-test.h
|
||||
)
|
||||
|
@@ -112,7 +112,6 @@ add_qtc_plugin(CppEditor
|
||||
wrappablelineedit.cpp wrappablelineedit.h
|
||||
EXPLICIT_MOC
|
||||
cppquickfixsettingswidget.h
|
||||
cppquickfixprojectsettingswidget.h
|
||||
)
|
||||
|
||||
extend_qtc_plugin(CppEditor
|
||||
|
@@ -15,5 +15,4 @@ add_qtc_plugin(ImageViewer
|
||||
imageviewerplugin.cpp
|
||||
imageviewertr.h
|
||||
multiexportdialog.cpp multiexportdialog.h
|
||||
EXPLICIT_MOC imageviewer.h
|
||||
)
|
||||
|
@@ -13,5 +13,4 @@ extend_qtc_plugin(Vcpkg
|
||||
CONDITION WITH_TESTS
|
||||
SOURCES
|
||||
vcpkg_test.cpp vcpkg_test.h
|
||||
EXPLICIT_MOC vcpkg_test.h
|
||||
)
|
||||
|
Reference in New Issue
Block a user