← Back to team overview

touch-packages team mailing list archive

[Bug 1473667] Re: QTCreator Failed to parse plugins.qmltypes

 

** Branch unlinked: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/qtmacros

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1473667

Title:
  QTCreator Failed to parse plugins.qmltypes

Status in ubuntu-ui-toolkit package in Ubuntu:
  Triaged

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 }
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1473667/+subscriptions


References