I need to create a frameless widget in Qt, and it needs to be resizable. The app will run under Windows and Mac OSX.
If I use: setWindowFlags(Qt::FramelessWindowHint);
I can resize the window from the bottom-right corner (a QSizeGrip appears, I guess it's included in QMainWindow widget).
I can add grips at each corner, but I want the window to be resizable from the sides (and not only the corners). Is there any easy way to make it resizable from all sides like a normal window?
There is a workaround for Windows, which consists on override nativeEvent handler: Qt/Windows, resizable frameless window , but I couldn't find a solution for Mac OSX platform.