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

QML modules not found on examples built as standalone

XMLWordPrintable

    • Linux/Yocto

      After building all modules examples in separate step using -DQT_BUILD_STANDALONE_EXAMPLES=ON, some of the examples fail to run correctly.

      In examples that have additional QML modules, the installation paths are such the those modules are not found at runtime.

      root@b2qt-raspberrypi-armv8:~# find /usr/share/examples/quick/animation
      /usr/share/examples/quick/animation
      /usr/share/examples/quick/animation/bin
      /usr/share/examples/quick/animation/bin/animationexample
      /usr/share/examples/quick/animation/lib
      /usr/share/examples/quick/animation/lib/qml
      /usr/share/examples/quick/animation/lib/qml/shared
      /usr/share/examples/quick/animation/lib/qml/shared/libanimation_shared.so
      /usr/share/examples/quick/animation/lib/qml/shared/qmldir
      
      root@b2qt-raspberrypi-armv8:~# /usr/share/examples/quick/animation/bin/animationexample
      qrc:/qt/qml/animation/animation.qml:5:1: module "shared" is not installed  
           import shared as Examples  
           ^
      

       

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

            qtbuildsystem Qt Build System Team
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes