Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator not find the sysroot library

Qt Creator not find the sysroot library

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt 6rpathsysrootcross compilewindows
2 Posts 1 Posters 564 Views
  • 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.
  • G Offline
    G Offline
    Gio26
    wrote on last edited by Gio26
    #1

    Hello,
    I just finished compiling qt6.3 for windows and raspberry pi4 64bit.
    I have configured the new kit, compiler and device.
    When I compile an example with qmake it doesn't find the libraries in sysroot.
    If I manually compile and adding "-Wl, -rpath-link=sysroot/path/lib" it works.
    How can I add the path of the sysroot libraries in Qt Creator?
    Thanks.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gio26
      wrote on last edited by
      #2

      I find one solution, I add in .pro:
      QMAKE_LFLAGS += -Wl,-rpath-link=path/to/sysroot/lib

      Is this the only way?
      Thanks.

      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