How to set up a separate sdk version for different apps?

Hi everyone,

I try to move from Linux to macOS Big Sur with my app development. The app is in an early development stage and there's no platform-dependent code. I am using QtCreator as an IDE and under Linux everything works - the game loop and rendering run smoothly, everything works as expected, as described in the Qt documentation. But when I try to build and run this code in the QtCreator under macOS Big Sur there are problems that should not occur (the app builds but when I try to run the code, it doesn't work as expected - even the basics explained in the Qt documentation fail to work as described). I don't think that there's a problem with my code - I wrote a simpler example that uses features I need but it fails to behave as described in Qt documentation too.

The only thing that I can think of that could cause the problem is sdk version - while building the project, QtCreator informs me that it is not tested under the sdk version 11.1 and I should switch to 10.15. How can I set the sdk version for QtCreator/qmake only? I don't want every other app to use the old sdk version, I want only QtCreator/qmake to build my app using the old version. Is there a way to do this?

So to conclude, I want to set up a local/separate environment for QtCreator than for other apps. Creation of a new user account could work for me? If yes, how to downgrade/switch sdk version properly for only one account?
If you have questions about or problems with Qt, then you will have to ask Qt support for assistance. I can tell you that very few people use Qt on a Mac, but those that do have an inordinately large number of problems. When I see someone posting about how they are struggling for weeks to perform some simple task that takes 2 minutes, it turns out they are always using Qt. Well, that's not true. Sometimes they use Electron.

If you want to write a game for Linux, then use whatever it is that will work best for your Linux users. If you want to write a game for the Mac, then use whatever is going to work best for your Mac users. Keep in mind how many potential Linux users you might have vs how many potential Mac users you might have. Also consider how easy it would be to port a Mac game to iOS, which gives you 1 billion potential users.

Choose wisely.
Thank you for this advice but unfortunately, the choice of the Qt was not mine - I can't change this. I could change the IDE but can't resign from using Qt. The project still has to run on Mac and Linux. I already reached the Qt Community but the set up of the separate env for different apps still holds (I have few ideas how to use it).

This is not a Qt Question, even thou it can be related to Qt and other applications. Qt has been wisely choosen because it runs on Windows, Linux and MacOS for professional applications.

The question again: How to set up a separate sdk version for different apps?

Further background:

I need to setup SDK 10.15 but it is not listed here: https://developer.apple.com/download/all/

Help regarding the initial question is appreciated.

A step by step proceedure would be perfect.

Thank you.

How to set up a separate sdk version for different apps?
 
 
Q