Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem cross compiling Qt 5.12.1 on Windows for ARM v7 Cortex A9
Qt 6.11 is out! See what's new in the release blog

Problem cross compiling Qt 5.12.1 on Windows for ARM v7 Cortex A9

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 877 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexander Bauer
    wrote on last edited by Alexander Bauer
    #1

    Hi,

    I need some help setting up a cross compiling environment. I'm trying to compile the QT framework to be able to develop on Windows with QtCreator and compile for my target device, which is a Linux System based on an ARMv7 Cortex A9 neon.

    As I'm compiling the framework in MSYS2, I downloaded the qt-everywhere-src-5.12.1.tar.xv with linux style line endings (hope this is the correct one in this case). I'm trying to compile the framework with the following parameters:

    ../qt-everywhere-src-5.12.1/configure -platform win32-g++ -release -device linux-imx6-g++ -device-option CROSS_COMPILE=/d/work/HOST-x86_64-w64-mingw32/arm-cortexa9_neon-linux-gnueabihf/bin/arm-cortexa9_neon-linux-gnueabihf- -sysroot /d/work/HOST-x86_64-w64-mingw32/arm-cortexa9_neon-linux-gnueabihf/arm-cortexa9_neon-linux-gnueabihf/sysroot/ -prefix /usr/local/qt-5.12.1 -no-qml-debug -nomake examples -nomake tests -qt-xcb -v
    

    I'm using mingw-w64-gcc provided by MSYS2 pacman to create the windows executable qmake.exe and a cross compiler for arm-cortexta9_neon_linux_gnueabihf.

    When compiling with this parameters, qmake.exe is created properly (it can be executed), but then the process gets stuck either during or right after creating .qmake.stash. I'm not sure where exactly, but the last line written in MSYS2 is something like "INFO creating stash file .qmake.stash".

    Am I doing something wrong?

    Thanks in advance for any advice.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved