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

qtdeclarative examples give "module shared not installed"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0
    • None
    • gcc, archlinux based qt6.4
      reproduced on qtdeclarative commit 750fe797e
    • Linux/X11

    Description

      To reproduce;

       

      git clone qtdeclarative.git
      cd qtdeclarative/examples/quick/draganddrop
      }}{{qmake6
      }}{{make
      {{}}./draganddrop
      qrc:/qt/qml/draganddrop/draganddrop.qml:5:1: module "shared" is not installed
      import shared as Examples
      ^

       

      This has been seen in more then one example in the same repo, I suspect something changed in the way things are imported.

       

      What worked for me is change the import to instead have 'qrc:/shared'.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tomz Tom Zander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes