PDA

View Full Version : Problem in linking QtMobility Messaging code to send email



abk883
31st January 2011, 12:51
Hi I am trying to use QtMobility Messaging API's to send email.

I am stuck with a linker error:

error (Undefined symbol): '__declspec(dllimport) QtMobility::QMessageServiceAction::QMessageService Action(class QObject *) (__imp_??0QMessageServiceAction@QtMobility@@QAE@PA VQObject@@@Z)'
1>error (Undefined symbol): '__declspec(dllimport)

Is there dependency for using QMessageServiceAction other than QtMessaging lib.

My sources file:
CONFIG = mobility
MOBILITY = messaging

INCLUDES = ...\QtNetwork; \
...\qtmobility\src\global; \
...\qtmobility\src\messaging; \


TARGETLIBS =
.....\QtNetwork \
....\QtMessaging \

EPOCCAPABILITIES = ReadUserData+WriteUserData+NetworkServices+WriteDe viceData+LocalServices+UserEnvironment+ReadDeviceD ata


Thanks