Qt Forum

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

    Solved Is Qt is platform dependant or Independant?

    General and Desktop
    3
    4
    129
    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.
    • A
      Ashutosh_Sachdeva last edited by

      Is Qt is platform dependant or Independant? For ex. I have made and GUI application for a device in linux can i used the same gui pages/ code for the the same device in windows compatible qt?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        That's the core goal of Qt: provide an abstraction of common system API so you can write your code once and build it on all platforms. Therefore unless you used some platform specific API then yes you can build your code base on Windows.

        And if you did use platform specific API, then wrap them properly and only compile them on the platform were they make sense.

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

        A 1 Reply Last reply Reply Quote 6
        • A
          Ashutosh_Sachdeva @SGaist last edited by

          @SGaist Thanku

          aha_1980 1 Reply Last reply Reply Quote 1
          • aha_1980
            aha_1980 Lifetime Qt Champion @Ashutosh_Sachdeva last edited by

            @Ashutosh_Sachdeva so please mark this topic as SOLVED too. Thanks!

            Qt has to stay free or it will die.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post