mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
1320e0768e
Test this by generating files with a custom target, which moc requires to be present when it is run.
18 lines
237 B
C++
18 lines
237 B
C++
|
|
#ifndef GENERATED_H
|
|
#define GENERATED_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "myinterface.h"
|
|
|
|
class Generated : public QObject, MyInterface
|
|
{
|
|
Q_OBJECT
|
|
Q_INTERFACES(MyInterface)
|
|
public:
|
|
explicit Generated(QObject *parent = 0);
|
|
};
|
|
|
|
#endif
|