Commit fd7a115d authored by Christian Kamm's avatar Christian Kamm
Browse files

qmldump: Ignore exports that are missing the type name.

parent 55520a38
......@@ -796,7 +796,6 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeImplicitSizeItem"
exports: [
"QtQuick/ 1.1"
]
Enum {
name: "Status"
......@@ -836,8 +835,6 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativeItem"
exports: [
"QtQuick/ 1.0",
"QtQuick/ 1.1"
]
Property { name: "implicitWidth"; type: "qreal"; isReadonly: true }
Property { name: "implicitHeight"; type: "qreal"; isReadonly: true }
......@@ -849,8 +846,6 @@ Module {
defaultProperty: "data"
prototype: "QDeclarativePaintedItem"
exports: [
"QtQuick/ 1.0",
"QtQuick/ 1.1"
]
Property { name: "implicitWidth"; type: "qreal"; isReadonly: true }
Property { name: "implicitHeight"; type: "qreal"; isReadonly: true }
......
......@@ -201,6 +201,9 @@ public:
foreach (const QDeclarativeType *qmlTy, qmlTypes) {
QString qmlTyName = qmlTy->qmlTypeName();
// some qmltype names are missing the actual names, ignore that import
if (qmlTyName.endsWith('/'))
continue;
if (!relocatableModuleUri.isNull()
&& qmlTyName.startsWith(relocatableModuleUri + QLatin1Char('/'))) {
qmlTyName.remove(0, relocatableModuleUri.size() + 1);
......
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