#include "loginwindow.h" #include int main(int argc, char *argv[]) { QApplication a(argc, argv); LoginWindow w; w.setWindowFlags(Qt::FramelessWindowHint); w.show(); return a.exec(); }