I was working on Windows with this program and was ok.. When im running it on linux (using QT creator, same on windows) window show and hide immediately. The program is to big to paste it all, this is my main.cpp code
int main(int argc, char *argv[]){
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
What should it be?