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. QT_SYSROOT override

QT_SYSROOT override

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 619 Views 2 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.
  • M Offline
    M Offline
    Morix Dev
    wrote on last edited by
    #1

    Hello everybody. I cross-compiled Qt 5.15.2 obtaining a qmake (used for configuring a "Qt version" in QtCreator) which has hardcoded the value of QT_SYSROOT depending on the absolute path of the PC on which I've compiled Qt.

    Now I need to move the cross-compiled Qt environment to a new laptop but I am not able to modify the QT_SYSROOT in qmake.

    I've already tried to set it using "qmake -set QT_SYSROOT <my_new_path>" but it does not make any difference.

    Any suggestions?

    /Morix

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You may need to recompile it on your laptop, unfortunately.

      Normally I'd suggest going with q.tconf (https://doc.qt.io/qt-5/qt-conf.html) but I don't think it supports cross-compiled Qt.

      (Z(:^

      1 Reply Last reply
      0

      • Login

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