Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47628

QQuickPaintedItem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.2, 5.5.0
    • Core: Plugins
    • None
    • Qt Yosemite 10.10.2 Xcode 5.4.2/5.5.0

    Description

      Trying to create minimal QuickPaintedItem plugin.

      Qt Samples and My minimal sample both fail:

      ../qt542/Examples/Qt-5.4/qml/tutorials/extending-qml/ project now for "installation" tips.

      Starting external tool "/macdev/qt542/5.4/clang_64/bin/qmlscene" /macdev/qt542/Examples/Qt-5.4/qml/tutorials/extending-qml/chapter6-plugins/app.qml

      file:///macdev/qt542/Examples/Qt-5.4/qml/tutorials/extending-qml/chapter6-plugins/app.qml:41 module "Charts" is not installed

      "/macdev/qt542/5.4/clang_64/bin/qmlscene" finished

      #########################################
      Jul 2 2015 From md:

      Hello Interest List:

      There is lots of Qt documentation about Plugins. Unfortunately, there is no concise beginning to end example of a QQuickItem/QQuickPaintedItem plugin.

      How to build, how to install, useage in other projects, how to deploy those projects, stumbling blocks....

      Attached are 2 mini projects I would like to ultimately be put into the the 5.4 examples code distribution.

      The first big problem is that I cannot get the QML plugin "installed".

      QmlScene reports:

      Starting external tool "/macdev/qt542/5.4/clang_64/bin/qmlscene" /macdev/qdev/testcircle/main.qml

      file:///macdev/qdev/testcircle/main.qml:5 module "Qt.qml" is not installed

      "/macdev/qt542/5.4/clang_64/bin/qmlscene" finished

      And running in debug on OSX deploy:

      Debugging starts

      QML debugging is enabled. Only use this in a safe environment.

      QML Debugger: Waiting for connection on port 49742...

      QQmlApplicationEngine failed to load component

      qrc:/main.qml:5 module "Qt.qml" is not installed

      I am either making a mistake in how my qmldir file is addressed. Or I am missing a .qmltypes file.

      Attachments

        1. qmlcircle.zip
          6 kB
        2. testcircle.zip
          44 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            md@rpzdesign.com md
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes