Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Crossplatform... really?
Qt 6.11 is out! See what's new in the release blog

Crossplatform... really?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 4 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.
  • L Offline
    L Offline
    Lucha
    wrote on last edited by
    #1

    Hello there!

    In my company we are trying to change to a framework that we can use to develop a true cross-platform application. The problem is that we want to code one time and deploy in all this systems:

    • Android
    • IOs
    • Windows
    • Mac
    • Linux (maybe not this)

    Would QT allow us to do this? Could we really share a lot of code with between all this platforms? If yes... what are the parts of code we could share between the platforms?

    Thanks for your answers and your time.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sirius79
      wrote on last edited by
      #2

      Windows, Mac, Linux - works. You can share 98% of the code in my experience.

      Android and iOS are pretty new to QT. If you would write a little about what you want to do / what parts of QT you want to use, that would help.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goblincoding
        wrote on last edited by
        #3

        You'll have to recompile for each platform and will also need to resolve dependencies for specific platforms when deploying, but yes, code once ;)

        http://www.goblincoding.com

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          It always depends on the specific use case. I have many apps that have 100% the same code on all platforms (including Android). Others require a bit more talking to OS-specific APIs so the percentage drops a bit. In general, though, I agree: Qt is truly cross-platform, code-once-deploy-everywhere and all :D

          (Z(:^

          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