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

demos/lightningviewer not launching when installed outside of build dir

    XMLWordPrintable

Details

    • Linux/X11, macOS, Windows
    • 4fc0afc2b (dev), 840ceeb2c (6.8), 51bdf2dcc (6.7)

    Description

      Install Qt 6.8.0 beta3 gcc_64 binaries, configure example:

      /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_64/bin/qt-cmake -S /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/demos/lightningviewer -B /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/demos/lightningviewer/bld_gcc_64 -GNinja -DFFMPEG_DIR=/usr/local/FFmpeg-n6.0 

      And build:

      cmake --build /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/demos/lightningviewer/bld_gcc_64 --parallel -j 8 

      Launches from this dir. Run install command

      cmake --install /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/demos/lightningviewer/bld_gcc_64 --prefix /home/qt/RTA/Qt_6.8.0/example_install 

      Try to launch from example_install, fails:

      QQmlApplicationEngine failed to load component
      <Unknown File>: No module named "LightningViewer" found  

      Attachments

        Issue Links

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

          Activity

            People

              mhqanbari MohammadHossein Qanbari
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: