qtmessaging: no such file or directory (Qt-Mobility)

1k Views Asked by At

I had a problem while I'm compiling the existing example in Qt-mobility. It's a code example shows how to use messaging API in Qt for symbian. After run the program there was an error occured:

Cannot open include file : 'qtmessaging.h': no such file or directory

So what to do for use the qtmessaging library?
Thanks in advance.

2

There are 2 best solutions below

0
On

This seems to be a bug in Qt Mobility. qtmessaging.h is not listed as a public header file.

In later releases of Qt Mobility such as the most recent 1.0.2, qtmessaging.h seems to be removed completely and the examples updated to not use it. So the solution is simple: update your Qt Mobility to the most recent version.

3
On

your pro file seems to be correct. just look at the example provided here, do cross check your profile with example one here http://doc.qt.nokia.com/qtmobility-1.0-beta/quickstart.html