Reputation: 3473
I need In My QtQuick2 application to support multi screen with same resolution. In other word i need to extend my application when i sense secondary screen connected. is it possible in QtQuick2?
Upvotes: 2
Views: 2444
Reputation: 867
I've been using the QtQuick.Window Screen QML Type to detect multiple monitor setups.
While I don't know if this meet your specific needs you could start out by having a property telling you if you are in a multi-monitor environment:
property bool multiMonitor: (Screen.desktopAvailableWidth > Screen.width) ? true : false
... maybe start out from there?
Screen has properties you could use for detecting any further needs your application might have :)
Upvotes: 4