PDA

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



iamjayanth
15th October 2008, 07:55
Sir,

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.

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

RESOURCE += configdialog

and now my project compiled successfully.