PDA

View Full Version : Undefined reference problem



deepa
26th April 2011, 11:15
Hello guys
I am using Qt 4.7 and iam facing few problems while building a application.
I have two apllications one is depending on other.
First application uses QNetworkConfiguration class and is building properly.
Second application uses first application's .so file.
But while building second appication iam getting error like
unedfined refernce to QNetworkConfiguration::allConfigurations(QFlags<QNetworkConfiguration::StateFlags>)Const.

I have included QNetwork/QNetworkConfigurationManager.

Zlatomir
26th April 2011, 11:48
I guess you forgot to link your project to the network module, so check in your .pro file if you have:

QT += network