Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Not managing to build android QT project
Qt 6.11 is out! See what's new in the release blog

Not managing to build android QT project

Scheduled Pinned Locked Moved Solved Qt 6
5 Posts 2 Posters 1.2k 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.
  • T Offline
    T Offline
    tiagodinis33
    wrote on last edited by
    #1

    C:\Qt\6.0.2\mingw81_64\lib\cmake\Qt6Core\Qt6CoreMacros.cmake:468: error: Unknown CMake command "qt6_android_apply_arch_suffix". C:/Qt/6.0.2/mingw81_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:437 (_qt_internal_create_executable) C:/Qt/6.0.2/mingw81_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:487 (qt6_add_executable) CMakeLists.txt:41 (qt_add_executable)

    Its the default cmake config

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Why are you trying to compile for Androïd with the MinGW build of Qt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tiagodinis33
        wrote on last edited by
        #3

        I actually installed MinGW today so its not the problem
        Why do you ask?
        it build successfully without ANDROID variable, but when i set ANDROID to ON it fails to make cache

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Because Android has its own build and requirements that have nothing to do with the MinGW build of Qt.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tiagodinis33
            wrote on last edited by tiagodinis33
            #5

            Oh sorry i forgot to check the Android box
            4d0a39b9-151b-4359-906d-b2928282ee12-image.png
            well, thx for the help anyway

            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