I installed Nokia Qt SDK beta.
I created a simple project, it built fine, it even ran fine on simulator.
Then I tried using QMessageManager class. (I just declared a variable). I could built it fine with inclusion of messaging to MOBILITY in my .pro file.
BUT, when I run it, application output window of Qt Creator says...
"Starting D:\mobileApp\crazySms\crazySms-build\release\crazySms.exe...
D:\mobileApp\crazySms\crazySms-build\release\crazySms.exe exited with code -1072365566"
I've visual studio 2005 installed on my Windows XP SP2.
Below is my main and .pro files.
mainwindows.cpp
==============================================================
#include "mainwindow.h"
#include <QLabel>
#include <QMessageManager>
QTM_USE_NAMESPACE
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
QLabel* centerLabel = new QLabel(tr("Crazy SMS"));
QMessageManager testVariable;
setCentralWidget(centerLabel);
}
MainWindow::~MainWindow()
{
}
crazySms.pro
=============================================================
#-------------------------------------------------
#
# Project created by QtCreator 2010-06-02T15:25:34
#
#-------------------------------------------------
QT += core gui
TARGET = crazySms
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
CONFIG += mobility
MOBILITY += messaging
symbian {
TARGET.UID3 = 0xec374431
# TARGET.CAPABILITY +=
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
}



