QWidget::showFullScreen()
is what you need - works great under Linux+Windows in my projects for years - but be careful, there shouldn't be two calls of this function (eg. first call of QMainWindo->showFullScreen()
and then MyWidget->showFullScreen()
).
ciao,
Chris
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…