How to handle screen transition for detachable window based application?
-
In my application I am using qqmlapplicationengine to show main screen in primary window monitor and secondary screen on other monitor using hdmi using same application.
Now i am using loader to load dynamically screen using transition handler and screen handler class.
But now I got stuck because it's working fine when I use it for primary screen.
But for secondary screen how to use same loader to load dynamically screen using transition handler and screen handler class?
I don't know? How can I use it?
Because if I use same then it show primary screen qml.
But I want to show different qml based ui?What should be the approach?
-
In my application I am using qqmlapplicationengine to show main screen in primary window monitor and secondary screen on other monitor using hdmi using same application.
Now i am using loader to load dynamically screen using transition handler and screen handler class.
But now I got stuck because it's working fine when I use it for primary screen.
But for secondary screen how to use same loader to load dynamically screen using transition handler and screen handler class?
I don't know? How can I use it?
Because if I use same then it show primary screen qml.
But I want to show different qml based ui?What should be the approach?
@Qt-embedded-developer i have to take 2 screen id and based on that i need to function change such that based on screen id it loads the qml
-
Q Qt embedded developer has marked this topic as solved on