Commit dfa7f809 authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix qmldesigner autotests

The registration of the qml items have been recently moved from a static
context into QmlGraphicsItemModule::initialization . The Bauhaus Metainfo
initialization now ensures that this method is called first by
instantating a QmlEngine.
parent faf2df28
......@@ -44,6 +44,7 @@
#include <QPair>
#include <QtAlgorithms>
#include <QMetaProperty>
#include <QmlEngine>
#include <QmlMetaType>
#include <private/qmlgraphicsanchors_p.h>
......@@ -106,6 +107,11 @@ void MetaInfoPrivate::clear()
void MetaInfoPrivate::initialize()
{
// make sure QmlGraphicsItemsModule gets initialized, that is
// QmlGraphicsItemsModule::defineModule called
QmlEngine engine;
Q_UNUSED(engine);
parseQmlTypes();
parseNonQmlTypes();
parseValueTypes();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment