View Full Version : How to setup the Dev C++ with MingW compiler for QT?

1st June 2006, 13:56

I am new to Qt. When I tried to setup DevC++ and run a sample application with the widget there, I got a link error [Linker error] undefined reference to `qInitResources_application()' .
What is that I am doing wrong?

Can anyone help?:(


4th June 2006, 08:19
Dev-Cpp doesn't handle Qt compilation very well on its own. Your project is using a *.qrc file and Dev-Cpp doesn't know that it needs to be processed with rcc and that the output file need to be linked to the project... You can try to find a tool for Dev-Cpp that solves this but IMHO it would be better to go back to the old good command line until you findan IDE that fully suits your needs...