Hello everyone,

I have a QQuickWindow which shows a QDialog. I want the QDialog to be centred 
on macOS and be window-modal. I've tried with:

windowHandle()->setTransientParent(myQQuickWindow);
windowHandle()->setFlags(Qt::WindowType::Dialog);

But the QDialog keeps behaving like a regular macOS window.

How can I achieve this?

Thank you.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to