summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-01-14 08:36:21 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-28 16:16:11 (GMT)
commitf765fdea032b820f82789485172616c1456fb815 (patch)
tree07d332e7b821c01b107e66f8c2e48d8872ba0dbf /Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp
parentf8c505d4b30aa636b013486913591060b2040716 (diff)
downloadCMake-f765fdea032b820f82789485172616c1456fb815.zip
CMake-f765fdea032b820f82789485172616c1456fb815.tar.gz
CMake-f765fdea032b820f82789485172616c1456fb815.tar.bz2
AutoGen: Use moc's feature to output dependencies
In Qt version 5.15.0 moc learned to output the dependencies of the generated file. This commit enhances JobCompileMocT to read the dependency file written by moc. The dependencies are stored in the same cache that's used for the dependencies determined by dependency filters. The dependency filter functionality is turned off if moc's dependency output feature is used. Fixes: #17750 Fixes: #19058
Diffstat (limited to 'Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp')
-rw-r--r--Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp
index 3c093b9..29674f9 100644
--- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp
+++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleD.hpp
@@ -10,7 +10,7 @@ class StyleD : public QStylePlugin
Q_OBJECT
// Json file in global sub director
Q_PLUGIN_METADATA(IID "org.styles.D" FILE "sub/StyleD.json")
- A_CUSTOM_MACRO(SomeArg, "sub/StyleD_Custom.json", AnotherArg)
+ A_CUSTOM_MACRO(org.styles.D, "sub/StyleD_Custom.json", AnotherArg)
public:
QStyle* create(const QString& key);
};