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. Can't configure qmake for cross compilation
QtWS25 Last Chance

Can't configure qmake for cross compilation

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 221 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.
  • D Offline
    D Offline
    danfly09
    wrote on last edited by
    #1

    I'm trying to build an application for my linux embedded device on the STM32MP1 hardware.

    The easiest way to this is to use the meta-qt5 layer provided by the Qt team for Yocto, then deploy the SDK and configure it in my QtCreator.

    However I'm curious about how to set up the IDE if I don't have a deployed SDK or for example if I wanted to use Qt6 libraries instead.

    I have my toolchain, directly from ARM. None of the prebuilt binaries matches my setup, so I have to configure this manually. I can configure the 'device', the compilers and debugger. But I can't start developing because I don't have a qmake, even though I could compile it from the source code for later use. It makes no sense, the IDE should know that if there's no qmake, then it should compile it with the given toolchain.

    qtshoot.png

    jsulmJ 1 Reply Last reply
    0
    • D danfly09

      I'm trying to build an application for my linux embedded device on the STM32MP1 hardware.

      The easiest way to this is to use the meta-qt5 layer provided by the Qt team for Yocto, then deploy the SDK and configure it in my QtCreator.

      However I'm curious about how to set up the IDE if I don't have a deployed SDK or for example if I wanted to use Qt6 libraries instead.

      I have my toolchain, directly from ARM. None of the prebuilt binaries matches my setup, so I have to configure this manually. I can configure the 'device', the compilers and debugger. But I can't start developing because I don't have a qmake, even though I could compile it from the source code for later use. It makes no sense, the IDE should know that if there's no qmake, then it should compile it with the given toolchain.

      qtshoot.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @danfly09 You configured Qt for x86. You need Qt built for your device: either from the SDK you mentioned or built by yourself.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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