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. Qt - for Windows, Linux, Android, iOS ?
Forum Updated to NodeBB v4.3 + New Features

Qt - for Windows, Linux, Android, iOS ?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 2.9k 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.
  • K Offline
    K Offline
    katangawise
    wrote on last edited by
    #1

    Hello,
    I completly new in Qt and may be my question is stupid, but I can't understand something....
    I just downloaded Qt for Windows 32 bit (MinGW). Is it possible to create with this version of Qt the cross platform programs or it is for Windows only?
    The second question is what difference between Qt for Windows (OpenGL), Qt for Windows (MinGW), and Qt for Android ??

    Thanks a lot!

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

      Hi and welcome to devnet,

      You still have to compile natively your application for each platform you want to support. However you only need one code base so you don't have to re-write everything from scratch for each platform.

      OpenGL means that you are going to use your graphic cards OpenGL driver, the non-OpenGL build uses the "ANGLE":http://code.google.com/p/angleproject/ library which does a translation between OpenGL ES2.0 and DirectX.
      The MinGW build uses and provide the MinGW compiler. The other packages are built with the corresponding Visual Studio versions but you have to download visual studio from Microsoft's website.

      Qt for Android as its name implies is a package ready to do development for android devices.

      Hope it helps

      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
      • K Offline
        K Offline
        katangawise
        wrote on last edited by
        #3

        SGaist hello,
        Thanks for your replay!
        If I want to make program for Windows, Linux, MacOS - I write code once, and compile it under needed OS, am I right?
        But what with the Android and iOS - mobile platforms?
        Do I have to download the Qt for Android or iOS as an additional IDE? Or it is possible to add needed components for downloaded IDE, that I have?

        Thanks a lot!

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ckakman
          wrote on last edited by
          #4

          Hi,

          For iOS, you need to compile and package your code on a Mac. For Android, you can develop on any desktop platform since Google provides tools for each of them. You need to install additional SDKs for mobile development. Please check out these pages in the Qt documentation:

          • "Requirements":http://doc.qt.io/qt-5/androidgs.html for Android development
          • "Requirements":http://doc.qt.io/qt-5/ios-support.html for iOS
          1 Reply Last reply
          0
          • K Offline
            K Offline
            katangawise
            wrote on last edited by
            #5

            Hello chakman,

            Thanks for your response!
            But I asked something else:
            If I need to download the Qt for Android in addition to downloaded Qt for Windows?

            Thanks a lot!

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ckakman
              wrote on last edited by
              #6

              [quote author="katangawise" date="1421571853"]Hello chakman,

              Thanks for your response!
              But I asked something else:
              If I need to download the Qt for Android in addition to downloaded Qt for Windows?

              Thanks a lot![/quote]

              SGaist already answered that. Yes you need to. Qt for Windows means Qt compiled for Windows OS, Qt for Android means Qt compiled for Android OS. Why don't you download the "online installer":http://www.qt.io/download-open-source/ and see it for yourself.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                katangawise
                wrote on last edited by
                #7

                I did download it! But this online installer doesn't work.
                I run it, after 20 min get message - Can't download, connection closed.
                Retried it 5 or 6 times - the same!
                So I installed with the offline installer - because of it all my questions are!

                Thanks a lot!
                I'll checkout Android programming later. Now I have to create simple program for Windows and Linux .

                Have a nice day!

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

                  You might be victim of a bad mirror. "This":https://github.com/JKSH/QtSdkRepoChooser little might help change the mirror.
                  One last thing, the offline installers for a mobile target (e.g. Android) include the desktop version of Qt so you can hack on your software even if you don't have the device at hand.

                  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