Hello,
I have a little problem with using of messaging. Everything was fine when had one thread-the main thread. Then I tryed to put my code to another thread and there is problem during working of application. The application only only read new SMS and print taht context.

Code:
	
MessageManagerThread *m = new MessageManagerThread(this);
	m->start();
	MessageManager *mes= new MessageManager(NULL); 
	mes->moveToThread(m);
	mes->makeConnection;//code of this function is below
Code of function MessageManager::makeConnection();
Code:
	 QObject::connect(m_manager, // m_manager is QMessageManager *
        SIGNAL(messageAdded(const QMessageId&,
						const QMessageManager::NotificationFilterIdSet&)), 
				this, SLOT(messageAdded(const QMessageId&,
					const QMessageManager::NotificationFilterIdSet&)));
when I run the application on windows mobile emulator and I send sms to te device, then in Output window in IDE appear:
Code:
QObject::connect: Cannot queue arguments of type 'QMessageId'
(Make sure 'QMessageId' is registered using qRegisterMetaType().)
so I try to Use qRegisterMEtaType:
Code:
MessageManager::MessageManager(QObject *parent)
	: QObject(parent)
{
	m_manager = new QMessageManager(this);

        qRegisterMetaType("QMessageId");

	m_notifFilterSet.insert( m_manager->registerNotificationFilter(
                          QMessageFilter::byType(QMessage::Sms) &
                         QMessageFilter::byStandardFolder(QMessage::InboxFolder)
        ));
}
but then I cant complie application:
Code:
Error	1	error C2039: 'qt_metatype_id' : is not a member of 'QMetaTypeId<T>'	c:\qt\4.6.1\qt\src\corelib\kernel\qmetatype.h	200	messageTest
I am using:
-qt for winCE 4.6.1
- QtMobility 1.0.0

Any ideas?