Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to Cross Compile to IMX8M?
Forum Updated to NodeBB v4.3 + New Features

How to Cross Compile to IMX8M?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 2.8k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    Jeng22
    wrote on last edited by
    #1

    Hello, I am new to cross compilations and am trying to figure out how to convert my current Qt Project (Qt 5.9.5) to be able to run on a DART-MXM8, which uses NXP's i.MX8M. The board is running on a linux file system.
    I have been reading through the documentation that I have to use the ./configure command for my device with the cross compiler, but am unsure how to do so. Additionally, looking at the list of devices in qtbase/mkspecs/devices, support only went up to linux-imx7-g++, so assuming I have to write my own configuration files.
    I looked into https://forum.qt.io/topic/100163/how-to-cross-compile-qt-app-for-i-mx8mqevk-fsl-image-qt5-validation-imx
    which used a similar board, so I used their .conf file, but do not have an image to use (I think?).
    I was currently trying to use this toolchain : https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads , unless there is a better one to use. Was unsure how to link the toolchain into the ./configure command (do I link the folder or a specific binary?)

    Is there an easy way to do this in QtCreator?

    Any advice/help would be greatly appreciated to get me started. Thanks!

    Pablo J. RoginaP 1 Reply Last reply
    0
    • J Jeng22

      Hello, I am new to cross compilations and am trying to figure out how to convert my current Qt Project (Qt 5.9.5) to be able to run on a DART-MXM8, which uses NXP's i.MX8M. The board is running on a linux file system.
      I have been reading through the documentation that I have to use the ./configure command for my device with the cross compiler, but am unsure how to do so. Additionally, looking at the list of devices in qtbase/mkspecs/devices, support only went up to linux-imx7-g++, so assuming I have to write my own configuration files.
      I looked into https://forum.qt.io/topic/100163/how-to-cross-compile-qt-app-for-i-mx8mqevk-fsl-image-qt5-validation-imx
      which used a similar board, so I used their .conf file, but do not have an image to use (I think?).
      I was currently trying to use this toolchain : https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads , unless there is a better one to use. Was unsure how to link the toolchain into the ./configure command (do I link the folder or a specific binary?)

      Is there an easy way to do this in QtCreator?

      Any advice/help would be greatly appreciated to get me started. Thanks!

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Jeng22 said in How to Cross Compile to IMX8M?:

      to run on a DART-MXM8

      Are you refering to device Variscite DART-MXM8?

      If so, have you checked the Wiki for instructions on:

      1. Qt5 Toolchain Installation
      2. Setting up Qt Creator

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • J Offline
        J Offline
        Jeng22
        wrote on last edited by
        #3

        Hi, Sorry for the late response, but was trying to go through those tutorials and its been taking time to install. These did put me on the right track so thank you!

        1 Reply Last reply
        1

        • Login

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