Sysroot in Qt Creator
-
Hi All,
After succesfully building Qt 5.12.3 for ARM64 I stumbled upon an issue in Qt Creator regarding the sysroot option for kit configurations. Currently I'm trying to cross compile my Qt application against arm64 using the configured kit. At the moment the linker is not able to link against some packages in the sysroot (which are there). I think this may be an issue with Qt Creator / qmake but I'm not sure entirely.
Within my kit's configuration I've set the sysroot to a mount point where my image is located, for instance: /mnt/device. When I start compilation I note that the passed --sysroot parameter to the cross compiler is empty:
aarch64-linux-gnu-g++ --sysroot= -Wl,-rpath,/mnt/device/usr/local/Qt-5.12.3/lib -Wl,-rpath-link,/lib/aarch64-linux-gnu -Wl,-rpath-link,/usr/lib/aarch64-linux-gnu
Can someone explain why it is empty and may help me to get the things right?
-
@bludger said in Sysroot in Qt Creator:
I've set the sysroot to a mount point where my image is located, for instance: /mnt/device
Can you show how you set it?