I am trying to pass data in form of ( x, y, dy) to be fitted using the minuit library. The code works perfect when compiled using a command line. But it doesn't when adjusted to fit in a GUI. Is it linking problem or just problems with unknown classes? I will check that again. But do you think there is nothing wrong with code.pro? Thanks