Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can't setup Qt version (and kit) with cross-compiled Qt6 in QtCreator
Forum Updated to NodeBB v4.3 + New Features

Can't setup Qt version (and kit) with cross-compiled Qt6 in QtCreator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 237 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.
  • E Offline
    E Offline
    ErikLarsson
    wrote on last edited by
    #1

    Hi!

    I just cross-compiled Qt6 (6.3.0-beta1) for QRM64. The cross-compilation went fine. But now I'm facing some issues in QtCreator (6.0.2). I'm trying to add my newly compiled Qt libraries (Tools -> Options ->Kits -> Qt Version) by clicking the "Add..." button.

    Before when I cross-compiled Qt5 I just selected my qmake and the libraries was added. But since Qt6 there are no host version of qmake built when doing a cross-compilation. So to my question. How am I suppose to add my Qt libraries and create a kit so I can use QtCreator to cross-compile an application?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ErikLarsson
      wrote on last edited by
      #2

      One step forward - but still not happy.

      I found that one misstake was to have the cmake flag "-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON" set. That generates the tools for my ARM64 platform. But when removing this I get a script file of qmake.

      That script will call med host Qt:s qmake with another configuration.
      Running that from the command line works fine. For example qmake -query return correct paths for my cross-compilation.

      
      

      But when using this qmake inside QtCreator i get the result.

      Invalid Qt version
      
      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