Mohsen Zahraee
Mohsen Zahraee

Reputation: 3473

QtQuick Dual Screen support

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

Answers (1)

Larpon
Larpon

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

Related Questions