summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocPlugin/StyleD.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-21 10:27:02 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-21 15:38:51 (GMT)
commit29d96633a405c2848a70ce5931973be2d518b56f (patch)
tree0e8593ab43b2022cd096cf157663718ab0a24619 /Tests/QtAutogen/mocPlugin/StyleD.cpp
parentd60f1ddc39e55f0d2e9d073fe5cca19ced6d08f6 (diff)
downloadCMake-29d96633a405c2848a70ce5931973be2d518b56f.zip
CMake-29d96633a405c2848a70ce5931973be2d518b56f.tar.gz
CMake-29d96633a405c2848a70ce5931973be2d518b56f.tar.bz2
Autogen: Don't use .moc include in Q_PLUGIN_METADATA test
Diffstat (limited to 'Tests/QtAutogen/mocPlugin/StyleD.cpp')
-rw-r--r--Tests/QtAutogen/mocPlugin/StyleD.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/Tests/QtAutogen/mocPlugin/StyleD.cpp b/Tests/QtAutogen/mocPlugin/StyleD.cpp
index 48398bb..7e4b121 100644
--- a/Tests/QtAutogen/mocPlugin/StyleD.cpp
+++ b/Tests/QtAutogen/mocPlugin/StyleD.cpp
@@ -1,17 +1,6 @@
#include "StyleD.hpp"
-class StyleD : public QStylePlugin
-{
- Q_OBJECT
- // Json file in global sub director
- Q_PLUGIN_METADATA(IID "org.styles.D" FILE "sub/StyleD.json")
-public:
- QStyle* create(const QString& key);
-};
-
QStyle* StyleD::create(const QString& key)
{
return 0;
}
-
-#include "StyleD.moc"