Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-763

Deploying QtIVIGenerator examples to Intel NUC creates symlinks to host's shared object locations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 5.12.4, 5.13.1
    • 5.12.1
    • Demos
    • None

    Description

      When deploying and running QtIVIGenerator examples on Intel NUC, symlinks point to host's symlink locations. E.g. instead of

      libQtIviClimateExample.so -> libQtIviClimateExample.so.1.0.0
      

      the symlink is created as

      libQtIviRemoteExample.so -> /home/tommi/RTA/qt5/Examples/Automotive-5.12/ivicore/build-qface-ivi-remote-Automotive_5_12_1_Intel_NUC-Debug/libQtIviRemoteExample.so
      

      Which then results in

      15:29:24: Starting /usr/bin/appcontroller...
      "DBUS_SESSION_BUS_ADDRESS" "unix:abstract=/tmp/dbus-8HwWGmjDKw,guid=55443252111ec7f21e15cfcb5c5c09e4"
      "LD_LIBRARY_PATH" "/data/user/qt/squish/lib"
      "QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_PLUGIN_PATH" "/data/user/qt/squish/plugins"
      "QT_QPA_EGLFS_FORCE888" "0"
      "QT_QPA_EGLFS_KMS_CONFIG" "/etc/kms.conf"
      "QT_QPA_GENERIC_PLUGINS" "squish:10100"
      "QT_QUICK_CONTROLS_1_STYLE" "Flat"
      "SQUISH_PREFIX" "/data/user/qt/squish"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "/usr/share/examples/ivicore/qface-ivi-remote/qface-ivi-remote" ()
      /usr/share/examples/ivicore/qface-ivi-remote/qface-ivi-remote: error while loading shared libraries: libQtIviRemoteExample.so.1: cannot open shared object file: No such
       file or directory
      quit
      Process exited with exit code 127
      15:29:24: Application finished with exit code 0.
      

      Running the same example on desktop and Toradex Apalis i.MX6 (at least when reading from application output) seems to be working fine.

      Attachments

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

        Activity

          People

            gagi Dominik Holland
            khormi Kari Hormi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes