Hi all. I have problem with mac os and resize windows for tow monitors.
I try call
QQuickView::showFullscreen();
QQuickView::showFullscreen();
To copy to clipboard, switch view to plain text mode
but QQuickView resize on primary desktop.
ok, i try call
void Window::show()
{
QList<QScreen *> screenList = QGuiApplication::screens();
for (int i = 0 ; i < screenList.count(); ++i) {
screenRect = screenRect.united(screenList.at(i).geometry());
}
setGeometry(screenRect);
QQuickView::show();
}
void Window::show()
{
QRect screenRect;
QList<QScreen *> screenList = QGuiApplication::screens();
for (int i = 0 ; i < screenList.count(); ++i) {
screenRect = screenRect.united(screenList.at(i).geometry());
}
setGeometry(screenRect);
QQuickView::show();
}
To copy to clipboard, switch view to plain text mode
i see half window on primary screen, and all, tow half not visible.
How i can resize window for tow monitors ?
Mac OS 10.10
Qt 5.3.2
Bookmarks