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
QtWS25 Last Chance

Not managing to build android QT project

Scheduled Pinned Locked Moved Solved Qt 6
5 Posts 2 Posters 520 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.
  • T Offline
    T Offline
    tiagodinis33
    wrote on 3 Mar 2021, 18:59 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Mar 2021, 19:05 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 3 Mar 2021, 19:10 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Mar 2021, 19:11 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 3 Mar 2021, 19:20 last edited by tiagodinis33 3 Mar 2021, 19:20
            #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

            1/5

            3 Mar 2021, 18:59

            • Login

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