


Add "include (./projectinclude/common.pri)" in myapp.pro and run qmake.Add "pends = framelesswindow" in myproject.pro and run qmake.If you want to create a new project, then method 1 should be used.Ĭreate a new Qt subproject project say myproject.pro, just like Qt-Nice-Frameless-Window.pro.Ĭopy folder "framelesswindow" and "projectinclude" to myproject path, the project directory structure should be looked like this:Īdd "SUBDIRS += framelesswindow" in myproject.pro and run qmake.Īdd a sub project say myapp.pro to myproject. Just use class "CFramelessWindow" as the base class instead of QMainWindow, and Enjoy! Method 1

Qt Frameless Window for both Windows and OS X, support Aero Snap, drop shadow on Windows, and support Native Style such as round corner, drop shadow on OS X.
