View Full Version : error in QT assistant example file configdialog.cpp

15th October 2008, 06:55

I am trying to run QT Assistant 4.2 example file. I am using QT 4.4 version. But I am getting the following error .

*/configdialog/main.cpp:7: undefined reference to `qInitResources_configdialog()'

I used the example code without any changes. I am new to QT and qtcentre and this is my first thread. I hope the above information is sufficient. Anybody please help me.

15th October 2008, 08:05
I have solved the problem. I added the line

RESOURCE += configdialog

and now my project compiled successfully.