I am receiving a segmentation fault for the simplest program of qtd. My source code is as follows:
int main(char args)
scope app = new QApplication(args);
scope mainWin = new MainWindow?;
It is compiling fine, but on execution, it gives a segmentation fault. I am new to this language. Please take some time to help me out. Thank you.