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
Forum Updated to NodeBB v4.3 + New Features

Qt Creator not find the sysroot library

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt 6rpathsysrootcross compilewindows
2 Posts 1 Posters 633 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.
  • G Offline
    G Offline
    Gio26
    wrote on 23 Apr 2022, 17:50 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 23 Apr 2022, 20:01 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

      1/2

      23 Apr 2022, 17:50

      • Login

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