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. Native Code
Qt 6.11 is out! See what's new in the release blog

Native Code

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 1.5k Views 2 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.
  • G Offline
    G Offline
    Giba
    wrote on last edited by
    #1

    Does Qt Creator make APP in Native Code for iOS and Android? Why?

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      Hi Giba,

      the compiled code depends on the compiler used. As Qt is a c++ framework the compiler used for android for example is the Google ndk-compiler producing architecture dependent native code. For ios, the clang compiler allows mixing c++ and objectiv-c code, but usually a qt project on ios is c++ only.

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

        Hi,

        Technically Qt Creator is only an IDE so it doesn't produce anything by itself. Back to your question, what do you mean by "Native Code" ? Qt for Android builds your application as a c++ library that will be loaded at runtime through the JVM but it still is C++.

        As for iOS, it's again C++ or if you need some native stuff, then you usually end up with Objective-C++ code. Both will be built by Clang.

        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

        • Login

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