I assume you are using Yocto or oe-core for setting up Qt cross compiling environment.
Once you build image with qt libraries included & bitbake meta-toolchain-qt5, sourced the environment script ,setup Qt Creator (kit and cross compiler) & try to cross-compile your fist application.
You get this frustrating error
c: command not found
Goto the Tools folder of Qtcreator ,in qtcreator.sh
Remove #! /bin/sh
paste the environment setup script here (at beginning of qtcreator.sh). & save.
Now sudo su
Compile & Done 🙂
The following two tabs change content below.
How to Integrate Google “No CAPTCHA reCAPTCHA” on Your Website
Latest posts by Piyush Ashtikar (see all)
- Common topics for Embedded Software Developers job interview-India - June 7, 2017
- c: command not found Qt Creator Yocto Oe-core - January 14, 2016