Hi, I want to communicate with server to receive information. I do it in infinite while loop in other thread but I can't use threads so I have to include the thread's code somewhere into MainWindow Class. I've tried below showing main window function but the application doesn't want to show the form. I don't know is there something like main loop in qt because i could not find it in google.
Qt Code:
MainWindow w; w.show(); while(1){} return a.exec();To copy to clipboard, switch view to plain text mode
Bookmarks