Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Native Code

    Mobile and Embedded
    3
    3
    752
    Loading More Posts
    • 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
      Giba last edited by

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

      1 Reply Last reply Reply Quote 0
      • sneubert
        sneubert last edited by

        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 Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 0
          • First post
            Last post