I’m trying - and failing - to figure out how to set up a Qt cross-compiler for the Jetson TK1.
These are the steps I’ve taken so far:
- Downloaded the JetPack TK1 installer onto my Ubuntu 16.04 host machine
- Run the installer and deployed the rootfs onto my TK1 board
- Installed Qt5 onto the TK1 using “sudo apt-get install qt5-default”
- Installed Qt5 onto my Ubuntu 16.04 host using “sudo apt-get install qt5-default” and also QtCreator using “sudo apt-get install qtcreator”
- Downloaded and extracted the Linaro arm-linux-gnueabihf toolchain
- rsync’d the /usr/bin, /usr/lib and /usr/include files up to my Ubuntu host machine into a ~/tk1_rootfs dir
- Set up a new “device” in Qt Creator targeting the TK1 - this works and can successfully connect
- Added a “manual” GCC compiler, pointing to the Linaro arm-linux-gnueabihf tools
- Attempted to add new “Qt Version”, selecting “qmake” from ~/tk1_rootfs/usr/bin directory rsync’d from the TK1
- An error now appears saying “/lib/ld-linux-armhf.so.3: No such file or directory”
The last step is where my understanding ends. Presumably, I need to make extra dependencies available - having tried copying up the /lib folder from the TK1 to the ~/tk1_rootfs dir, this still makes no difference.
Unfortunately I have very limited experience with setting up cross-compilers so any help or advice would be greatly appreciated. Am I going about things the wrong way? Do I need to specify “sysroots” in Qt Creator?