File indexing completed on 2024-04-28 05:38:41
0001 #include <QtCore/QObject> 0002 #include <QtCore/QString> 0003 #include <QtQml/QQmlEngine> 0004 0005 struct Foo : public QObject {}; 0006 0007 void test() 0008 { 0009 qmlRegisterType<Foo>("App", 1, 0, "Foo"); // OK 0010 qmlRegisterType<Foo>("App", 1, 0, "foo"); // Warn 0011 }