Facing issue while compiling first qt widget sample hello world code for Imx6
-
Hi,
Facing issue while compiling code for imx6 platform.
I have created cross tool-chain SDK by Yocto.
and set up following things in qt creator Kit
Device , compiler ,debugger ,qt version ,qt mkspec.but facing error as follow:
19:41:12: Could not determine which "make" command to run. Check the "make" step in the build configuration.
Error while building/deploying project Hello (kit: Rohit)
When executing step "qmake"Please guide me through this.
thanks and Regards
Rohit -
@Rohit39 said in Facing issue while compiling first qt widget sample hello world code for Imx6:
Check the "make" step in the build configuration
Did you do this?
-
@Rohit39 said in Facing issue while compiling first qt widget sample hello world code for Imx6:
these are settings for build configuration
No, this is not what "make step" in the build configuration is about.
Go to "Projects/Build & Run/Build/Build Steps/Make" and check the path to make and change it to point to make executable from your cross compilation tool chain. -
@jsulm Thank you I made the changes you suggested. now it goes ahead stops here with an error.
12:11:09: Starting: "/opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake" /home/navnath/QT_Projects/Hello/Hello.pro -spec linux-oe-g++ CONFIG+=debug CONFIG+=qml_debug
/opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/features/resolve_config.prf:25: 'addExclusiveBuilds' is not a recognized test function.
/opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/features/resolve_config.prf:37: 'addExclusiveBuilds' is not a recognized test function.
Project WARNING: CONFIG-=import_qpa_plugin is deprecated. Use QTPLUGIN.platforms=- instead.
12:11:09: The process "/opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake" exited normally.
12:11:09: Could not start process "/opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/make" qmake_all
Error while building/deploying project Hello (kit: Rohit)
When executing step "qmake"
12:11:09: Elapsed time: 00:00.