setWindowFlags(Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint);

@bala :this is what i have used:


@qtlinuxnewbie