diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-03 20:26:09 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-21 07:58:24 (GMT) |
commit | e5c6610aba66b0a792f5fedb83e73a43460c3248 (patch) | |
tree | 7c5ebc90d12457eb2ba1077ae62446f45e4bc404 /Tests/QtAutogenRerun/mocPlugin/StyleE.hpp | |
parent | 932656527bdbf580335a082f8ecbaa888a710901 (diff) | |
download | CMake-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.hpp | 17 |
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 |