diff options
author | Sebastian Holtermann <sebholt@web.de> | 2019-12-30 15:00:15 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@web.de> | 2020-01-04 10:33:05 (GMT) |
commit | 9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43 (patch) | |
tree | e5a52bff402d634c609da7fbd8d6d05dd7c10400 /Tests/QtAutogen/MocCMP0100/Obj2.cpp | |
parent | 8c2be3ae94986586aedc3c710694ee7f38296412 (diff) | |
download | CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.zip CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.tar.gz CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.tar.bz2 |
Tests: Add AUTOGEN policy CMP0100 test
Add a test for policy CMP0100 that configures whether or not
AUTOMOC and AUTOUIC should process .hh header files.
Diffstat (limited to 'Tests/QtAutogen/MocCMP0100/Obj2.cpp')
-rw-r--r-- | Tests/QtAutogen/MocCMP0100/Obj2.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocCMP0100/Obj2.cpp b/Tests/QtAutogen/MocCMP0100/Obj2.cpp new file mode 100644 index 0000000..8a359ad --- /dev/null +++ b/Tests/QtAutogen/MocCMP0100/Obj2.cpp @@ -0,0 +1,31 @@ +#include "Obj2.hh" + +#include <QObject> + +class Obj2Private : public QObject +{ + Q_OBJECT +public: + Obj2Private(); + ~Obj2Private(); +}; + +Obj2Private::Obj2Private() +{ +} + +Obj2Private::~Obj2Private() +{ +} + +Obj2::Obj2() + : d(new Obj2Private) +{ +} + +Obj2::~Obj2() +{ + delete d; +} + +#include "Obj2.moc" |