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 [https://community.nxp.com/docs/DOC-328543] 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/project.pro
    

    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: project.pro
    
    

    How to fix this one?
    Please Help!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.