Qt6 Application OS Compatibility
-
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.
-
Normally, no. Read more about deployment or installation of Qt apps.
https://doc.qt.io/qt-6/deployment.html -
@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.
-
But this wrapping happens automatically when I link them in CMakeLists.txt and use macdeployqt and windeployqt, right?
@Ali-Fadel I am not sure how you did it. Try it out to see if it works.
-
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)
-
Thanks @Christian-Ehrlicher. What about the bundled packages? I'm bundling FFmpeg with my application.
I don't think ffmpeg will use any Win11 specific api.