You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
333 B

#include <QObject>
#include "myinterface.h"
class MyObject
: public QObject
, MyInterface
{
Q_OBJECT
Q_INTERFACES(MyInterface)
public:
explicit MyObject(QObject* parent = 0)
: QObject(parent)
{
}
};
int main(int argc, char** argv)
{
MyObject mo;
mo.objectName();
return 0;
}
#include "main_gen_test.moc"