summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-22 14:15:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-22 14:15:54 (GMT)
commit7df7eea7cf9c0bcaa7c690a6f56995704c78a7b6 (patch)
tree95df6934359165b9935e09259615121ca5c25589 /Tests/QtAutogenRerun/mocPlugin/StyleE.hpp
parent33eec572328847da74f87c99bde3c5f0eef992bb (diff)
parent51fd7b714ba518e70f4aa192b1d39e32eea79aef (diff)
downloadCMake-7df7eea7cf9c0bcaa7c690a6f56995704c78a7b6.zip
CMake-7df7eea7cf9c0bcaa7c690a6f56995704c78a7b6.tar.gz
CMake-7df7eea7cf9c0bcaa7c690a6f56995704c78a7b6.tar.bz2
Merge topic 'autogen-generators-refactor'
51fd7b71 Autogen: Tests: Add a change-not test to the mocRerun test c8f92db7 Autogen: Tests: Disable an AUTOMOC_DEPENDS_FILTER test for Ninja 3c77515e Autogen: Tests: Refactor the QtAutogenRebuild rccDepends test 04a0daee Autogen: Tests: Move each rerun test script to a NAME.cmake file e5c6610a Autogen: Tests: Extend CMAKE_AUTOMOC_DEPEND_FILTERS rebuild test 93265652 Autogen: Tests: Add <SUBDIR>/ui_view.h AUTOUIC includes to sameName test 4eb7d817 Autogen: Tests: Add <SUBDIR>/item.moc includes to sameName test 3f223743 Autogen: Read relative paths from rcc output ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1244
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