diff options
Diffstat (limited to 'modules/ECMQmlModule.cpp.in')
-rw-r--r-- | modules/ECMQmlModule.cpp.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/ECMQmlModule.cpp.in b/modules/ECMQmlModule.cpp.in new file mode 100644 index 00000000..07be0bc3 --- /dev/null +++ b/modules/ECMQmlModule.cpp.in @@ -0,0 +1,12 @@ +// This file is autogenerated by ECMQmlModule to support static QML-only plugins. + +#include "QmlModule.h" + +#include <QQmlEngine> + +void QmlModule::registerTypes(const char* uri) +{ + Q_ASSERT(QLatin1String(uri) == QLatin1String("@_qml_uri@")); + + Q_INIT_RESOURCE(@ARG_TARGET@); +} |