QTCreator Failed to parse plugins.qmltypes

Bug #1473667 reported by vallee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Triaged
Undecided
Benjamin Zeller

Bug Description

I'm trying to make a simple appa using android-sdk, i get this error when trying to use QT Creator :

********************************************

[17:04:01] ii click-reviewers-tools 0.32-0~503~ubuntu15.04.1

Warnings while parsing QML type information of /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components:
Failed to parse '/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes'.
Error: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1001:19: Un littéral chaîne qui contient "Package/Name major.minor" or "Name major.minor" est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1002:36: Un littéral tableau avec uniquement des membres littérals numérique est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1020:19: Un littéral chaîne qui contient "Package/Name major.minor" or "Name major.minor" est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1021:36: Un littéral tableau avec uniquement des membres littérals numérique est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1030:19: Un littéral chaîne qui contient "Package/Name major.minor" or "Name major.minor" est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1031:36: Un littéral tableau avec uniquement des membres littérals numérique est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1039:19: Un littéral chaîne qui contient "Package/Name major.minor" or "Name major.minor" est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1040:36: Un littéral tableau avec uniquement des membres littérals numérique est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1057:19: Un littéral chaîne qui contient "Package/Name major.minor" or "Name major.minor" est attendu.
/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1058:36: Un littéral tableau avec uniquement des membres littérals numérique est attendu.

Warnings while parsing QML type information of /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia:
Failed to parse '/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia/plugins.qmltypes'.
Error: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia/plugins.qmltypes:0:0: Un seul import est attendu.

********************************************

/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes

When editing with Kate, the end of the file is :

    Component {
        prototype: "QObject"
        name: "Haptics"
        exports: ["Haptics -1.-1"]
        exportMetaObjectRevisions: [-1]
        isComposite: true
        isCreatable: false
        isSingleton: true
        defaultProperty: "children"
        Property { name: "enabled"; type: "bool"; isReadonly: true }
        Property { name: "effect"; type: "QDeclarativeHapticsEffect"; isReadonly: true; isPointer: true }
        Method {
            name: "play"
            type: "QVariant"
            Parameter { name: "customEffect"; type: "QVariant" }
        }
        Property { name: "__defaultPropertyFix"; type: "QObject"; isList: true; isReadonly: true }
        Property { name: "children"; type: "QObject"; isList: true; isReadonly: true }
    }
    Component {
        prototype: "QObject"
        name: "Object"
        exports: ["Object -1.-1"]
        exportMetaObjectRevisions: [-1]
        isComposite: true
        defaultProperty: "children"
        Property { name: "__defaultPropertyFix"; type: "QObject"; isList: true; isReadonly: true }
        Property { name: "children"; type: "QObject"; isList: true; isReadonly: true }
    }
    Component {
        prototype: "QObject"
        name: "Palette"
        exports: ["Palette -1.-1"]
        exportMetaObjectRevisions: [-1]
        isComposite: true
        Property { name: "normal"; type: "PaletteValues_QMLTYPE_6"; isPointer: true }
        Property { name: "selected"; type: "PaletteValues_QMLTYPE_6"; isPointer: true }
    }
    Component {
        prototype: "QObject"
        name: "PaletteValues"
        exports: ["PaletteValues -1.-1"]
        exportMetaObjectRevisions: [-1]
        isComposite: true
        Property { name: "background"; type: "QColor" }
        Property { name: "backgroundText"; type: "QColor" }
        Property { name: "base"; type: "QColor" }
        Property { name: "baseText"; type: "QColor" }
        Property { name: "foreground"; type: "QColor" }
        Property { name: "foregroundText"; type: "QColor" }
        Property { name: "overlay"; type: "QColor" }
        Property { name: "overlayText"; type: "QColor" }
        Property { name: "field"; type: "QColor" }
        Property { name: "fieldText"; type: "QColor" }
        Property { name: "selection"; type: "QColor" }
    }
    Component {
        prototype: "QObject"
        name: "UbuntuColors"
        exports: ["UbuntuColors -1.-1"]
        exportMetaObjectRevisions: [-1]
        isComposite: true
        isCreatable: false
        isSingleton: true
        Property { name: "orange"; type: "QColor"; isReadonly: true }
        Property { name: "lightAubergine"; type: "QColor"; isReadonly: true }
        Property { name: "midAubergine"; type: "QColor"; isReadonly: true }
        Property { name: "darkAubergine"; type: "QColor"; isReadonly: true }
        Property { name: "warmGrey"; type: "QColor"; isReadonly: true }
        Property { name: "coolGrey"; type: "QColor"; isReadonly: true }
        Property { name: "orangeGradient"; type: "QQuickGradient"; isPointer: true }
        Property { name: "greyGradient"; type: "QQuickGradient"; isPointer: true }
        Property { name: "lightGrey"; type: "QColor"; isReadonly: true }
        Property { name: "darkGrey"; type: "QColor"; isReadonly: true }
        Property { name: "red"; type: "QColor"; isReadonly: true }
        Property { name: "green"; type: "QColor"; isReadonly: true }
        Property { name: "blue"; type: "QColor"; isReadonly: true }
        Property { name: "purple"; type: "QColor"; isReadonly: true }
    }
}

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Benjamin Zeller (zeller-benjamin)
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.