Are you fixing the main window widget or its central widget?
The main window. I tried creating it without any widgets at all (just setFixedSize(256, 128) and show() in its constructor) - nothing changed.
UPD: Just built with Qt 4 - works as expected. Could that be a bug in Qt 5? Anyway, reported.
UPD 2: Turns out that if I put setWindowFlags(Qt::MSWindowsFixedSizeDialogHint) before show() - it works just as expected.
Last edited by jeremejevs; 3rd June 2013 at 09:47.
Bookmarks