Important: Please read the Qt Code of Conduct -

Cross-compile to arm(iMX6) issue

  • Hi,

    I need you help for solving an issue that’s is getting me crazy.

    I followed the tutorial [] for croos compiling QT5 .

    I installed the toolchain and run the shell script.
    And before i start my project i had already set the environment.

    When i using qmake the command like below :

    qmake -spec /mnt/raid115/victor/freescale/opt/fsl-imx-wayland/4.1.15/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/devices/linux-imx6-g++ -o Makefile project/

    Then it will give me the error like this :

    Project ERROR: CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>
    Could not read qmake configuration file /mnt/raid115/victor/freescale/opt/fsl-imx-wayland/4.1.15/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/devices/linux-imx6-g++/qmake.conf.
    Error processing project file:

    How to fix this one?
    Please Help!

Log in to reply