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. Qt6 Application OS Compatibility
Forum Updated to NodeBB v4.3 + New Features

Qt6 Application OS Compatibility

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 487 Views
  • 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 Offline
    A Offline
    Ali Fadel
    wrote on last edited by
    #1

    I'm developing a Qt6 application on MacOS 13, and I'm planing to publish it for Windows also. I'm using Windows 11. When I build the executables on MacOS 13 and Windows 11, will people be able to run the code on MacOS12 and Windows 10? I'm not using any special OS features.

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      Normally, no. Read more about deployment or installation of Qt apps.
      https://doc.qt.io/qt-6/deployment.html

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Ali Fadel
        wrote on last edited by
        #3

        So, should I build the application on older OS version before publishing it?

        JoeCFDJ 1 Reply Last reply
        0
        • A Ali Fadel

          So, should I build the application on older OS version before publishing it?

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4

          @Ali-Fadel You need to wrap all dynamic libs and plugins with your executables. It does not have a lot to do with old versions.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Ali Fadel
            wrote on last edited by
            #5

            But this wrapping happens automatically when I link them in CMakeLists.txt and use macdeployqt and windeployqt, right?

            JoeCFDJ 1 Reply Last reply
            0
            • A Ali Fadel

              But this wrapping happens automatically when I link them in CMakeLists.txt and use macdeployqt and windeployqt, right?

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by
              #6

              @Ali-Fadel I am not sure how you did it. Try it out to see if it works.

              1 Reply Last reply
              0
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                I can't say anything for MacOS but an app compiled on Win11 will work on Win10 without any problems as long as you don't use any new Win11 features (which you don't when you only use the Qt libs to access the OS)

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Ali Fadel
                  wrote on last edited by
                  #8

                  Thanks @Christian-Ehrlicher. What about the bundled packages? I'm bundling FFmpeg with my application.

                  Christian EhrlicherC 1 Reply Last reply
                  0
                  • A Ali Fadel

                    Thanks @Christian-Ehrlicher. What about the bundled packages? I'm bundling FFmpeg with my application.

                    Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    I don't think ffmpeg will use any Win11 specific api.

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Ali Fadel
                      wrote on last edited by
                      #10

                      Got it, thanks! I will try and update this post later.

                      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