Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7381

QmlPluginTypes: Plugin types not recognized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.5.1
    • Qt Creator 2.5.0-rc
    • Quick / QML Support
    • None
    • Ubuntu 11.04
    • I759ae0c68441e805b0502bf2d203c524bf1a7a7c , d4c2c3f214ebfbdd39674a9f281394315aab59f8

    Description

      If a QML Type is exported with different names, only one is recognized.

      Refer attached example.

      Preconditions:
      build Qt5/QtMultimedia
      run qmlplugindump -notrelocatable QtMultimedia 5.0 and save the output in qt-creator/share/qtcreator/qml-type-descriptions

      The .qmltypes file exports QDeclarativeAudio as both Audio and MediaPlayer. However, when declaring MediaPlayer in the qml file, it is not recognized (See screenshot).

      Attachments

        1. qmlplugin.zip
          2 kB
          Aurindam Jana
        2. qmlplugintypes.png
          30 kB
          Aurindam Jana
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fawzi Fawzi Mohamed
            ajana Aurindam Jana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes