Re-open ApplicationWindow when setQuitOnLastWindowClosed is false
I found the setQuitOnLastWindowClosed method, if I set it to false my application is still alive when I close the main window as expected. How do I bring the window back?
Clicking on the Dock icon does nothing, I would want it to reopen my main window.
Using Qt 5.7, QtQuick 2.5, macOS Sierra.
You can react on the QGuiApplication:: applicationStateChanged signal.