Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Boot2Qt: File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found
Forum Updated to NodeBB v4.3 + New Features

Boot2Qt: File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 962 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kkettinger
    wrote on last edited by kkettinger
    #1

    Hello,

    i'm currently deploying with Boot2Qt to an Toradex iMX6 Module with Qt Demos installed (5.14.1). My developing version of Qt is 5.14.2.

    When deploying in Debug-Mode, everything runs fine. Deploying in Release-Mode, i get this error on launch:

    "FB_MULTI_BUFFER" "2"
    "QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
    "QTWEBENGINE_DISABLE_SANDBOX" "1"
    "QT_GSTREAMER_CAMERABIN_VIDEOSRC" "mxc_v4l2=imxv4l2videosrc,v4l2src"
    "QT_IM_MODULE" "qtvirtualkeyboard"
    "QT_QPA_EGLFS_FORCEVSYNC" "1"
    "QT_QUICK_CONTROLS_1_STYLE" "Flat"
    "XDG_RUNTIME_DIR" "/run/user/0"
    "/opt/prototype-01/bin/prototype-01" ()
    Thread is started
    QQmlApplicationEngine failed to load component
    Thread is stopped
    qrc:/main.qml: File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile
    quit
    Process exited with exit code 255
    

    Does this happen because of different qt versions? I tried to get Qt 5.14.1, but only 5.14.2 or 5.13.x is available.

    I appreciate any help, thanks.

    Best regards,
    Kevin

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kkettinger
      wrote on last edited by
      #3

      Thanks SGaist, i fixed it myself. I build a new boot2qt yocto image for my board using this guide: https://doc.qt.io/QtForDeviceCreation/qtee-custom-embedded-linux-image.html
      Now there is the correct qt version and the issue went away.

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        Boot2Qt being a commercial product, you should contact the Qt Company directly.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kkettinger
          wrote on last edited by
          #3

          Thanks SGaist, i fixed it myself. I build a new boot2qt yocto image for my board using this guide: https://doc.qt.io/QtForDeviceCreation/qtee-custom-embedded-linux-image.html
          Now there is the correct qt version and the issue went away.

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved