Qt Creator not find the sysroot library
Unsolved
Installation and Deployment
-
wrote on 23 Apr 2022, 17:50 last edited by Gio26
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. -
wrote on 23 Apr 2022, 20:01 last edited by
I find one solution, I add in .pro:
QMAKE_LFLAGS += -Wl,-rpath-link=path/to/sysroot/libIs this the only way?
Thanks.
1/2