summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-09-03 20:26:09 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-09-21 07:58:24 (GMT)
commite5c6610aba66b0a792f5fedb83e73a43460c3248 (patch)
tree7c5ebc90d12457eb2ba1077ae62446f45e4bc404 /Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
parent932656527bdbf580335a082f8ecbaa888a710901 (diff)
downloadCMake-e5c6610aba66b0a792f5fedb83e73a43460c3248.zip
CMake-e5c6610aba66b0a792f5fedb83e73a43460c3248.tar.gz
CMake-e5c6610aba66b0a792f5fedb83e73a43460c3248.tar.bz2
Autogen: Tests: Extend CMAKE_AUTOMOC_DEPEND_FILTERS rebuild test
The CMAKE_AUTOMOC_DEPEND_FILTERS must also detect filtered file changes from files that are registered to AUTOMOC by a `#include "moc_<NAME>.cpp"` statement.
Diffstat (limited to 'Tests/QtAutogenRerun/mocPlugin/StyleE.hpp')
-rw-r--r--Tests/QtAutogenRerun/mocPlugin/StyleE.hpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp b/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
index e7915a8..a069034 100644
--- a/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
+++ b/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
@@ -1,17 +1,10 @@
#ifndef STYLEE_HPP
#define STYLEE_HPP
-#include "StyleCommon.hpp"
-#include <QStylePlugin>
-
-class StyleE : public QStylePlugin
-{
- Q_OBJECT
- // No Json file
- Q_PLUGIN_METADATA(IID "org.styles.E")
- A_CUSTOM_MACRO(SomeArg, InvalidFileArg, AnotherArg)
-public:
- QStyle* create(const QString& key);
-};
+// The included file is not in the sources list and won't be detected by
+// AUTOMOC source file with the same base name.
+// It is registered to AUTOMOCed via a moc_<NAME>.cpp include in StyleE.cpp
+// though.
+#include "StyleEInclude.hpp"
#endif