error lqtmessaging

66 views
Skip to first unread message

nfrfab

unread,
Nov 12, 2012, 5:23:25 PM11/12/12
to andro...@googlegroups.com
Hello, I am new to this group. I develop an application for Symbian with Nokia Qt SDK, this is pretty big (Sqlite, http server, messaging, bluetooth). My idea was to port it to Android.
To do this I try to compile the example serviceactions.pro (included in Necessitas Qt SDK for windows 7 64, to understand the environment). I get the following error: cannot find -lqtmessaging

Also try to run the command qmake (Qt Creator: Build -> Run qmake) Getting error or warning: Unable to find file for inclusion F:\necessitas\Android\Qt\482\qtmobility- staticconfig.pri src\config.pri

I think it's a problem of variables but I could not find the solution.
Any idea? Thank you.
Note: I do not speak English, sorry ...

nfrfab

unread,
Nov 13, 2012, 3:37:59 PM11/13/12
to andro...@googlegroups.com
Hello. Today I tried to compile qtmobility.pro and messaging.pro, has many errors. My conclusion is expect a new version of Necessitas with Mobiliby precompiled.

BogDan Vatra

unread,
Nov 26, 2012, 12:04:02 PM11/26/12
to andro...@googlegroups.com
Hi,

It is something wrong with the QtMobility shipped by Necessitas SDK ?

BogDan.


2012/11/13 nfrfab <nfrf...@argentina.com>:

nfrfab

unread,
Nov 26, 2012, 4:02:53 PM11/26/12
to andro...@googlegroups.com
Hello, my problems are:
compile qtmobility.pro with QT Creator in windows 7 64 is not easy. Errors:
1. Run configure.bat, error "Unknown target environment UNIX"
 To fix the errors, I edited configure.bat (not ideal, but ...)

2. Qt Creator. Errors "No rule to make target `..\..\lib\', needed by `all'.  Stop."
 To fix the errors, I edited Makefile... Finally qtmobility.pro was compiled, but for some reason the module messaging was not compiled.
3. I try to compile messaging.pro, but I could not solve the following errors:

undefined reference to 'QtMobility::QMessageId::QMessageId(QtMobility::QMessageId const&)'qmessageid.cpp
undefined reference to 'QtMobility::QMessageId::operator==(QtMobility::QMessageId const&) const'qmessagecontentcontainerid.cpp
undefined reference to 'QtMobility::QMessageContentContainerId::operator==(QtMobility::QMessageContentContainerId const&) const'qmessagefolderid.cpp
undefined reference to 'QtMobility::QMessageFolderId::operator==(QtMobility::QMessageFolderId const&) const'qmessageaccountid.cpp
undefined reference to 'QtMobility::QMessageAccountId::operator==(QtMobility::QMessageAccountId const&) const'F:\necessitas\Android\Qt\482\armeabi\include\QtCore/qlist.h
undefined reference to 'QtMobility::QMessageAccountId::QMessageAccountId(QtMobility::QMessageAccountId const&)'F:\necessitas\Android\Qt\482\armeabi\include\QtCore/qlist.h
...
etc. (163 errors)


I searched the internet some solution, I found solutions to Symbian, linux, nothing for "Qt Necessitas - Windows 7". Nothing works.

Currently my application is running on Android, with the exception "messaging" and "call functions" (80% of the source code was ported). The "messaging" functions are impresindible.

Pritpal Bedi

unread,
Nov 26, 2012, 5:35:07 PM11/26/12
to andro...@googlegroups.com
Hi


Hello, my problems are:
compile qtmobility.pro with QT Creator in windows 7 64 is not easy. Errors:
1. Run configure.bat, error "Unknown target environment UNIX"
 To fix the errors, I edited configure.bat (not ideal, but ...)

2. Qt Creator. Errors "No rule to make target `..\..\lib\', needed by `all'.  Stop."
 To fix the errors, I edited Makefile... Finally qtmobility.pro was compiled, but for some reason the module messaging was not compiled.
3. I try to compile messaging.pro, but I could not solve the following errors:

It seems you did not read BogDan's reply properly.

He wants to know what issues you have with QtMobility module which is already shipped with Necessitas ?
You need not not to compile it at all, so why are you compiling ?


Pritpal Bedi 

nfrfab

unread,
Nov 26, 2012, 6:52:38 PM11/26/12
to andro...@googlegroups.com
Hello, I explain:
The first time I used Qt Necessitas I try to compile the project serviceactions.pro (include in Necessitas). I got errors:
cannot find -lQtMessaging
undefined reference to 'QtMobility::QMessageAccountId::~QMessageAccountId()' ..\serviceactions/mainwindow.cpp
undefined reference to 'QtMobility::QMessageManager::~QMessageManager()'..\..\..\..\Android\Qt\482\armeabi\include\QtCore/qlist.h
undefined reference to 'QtMobility::QMessageContentContainerId::~QMessageContentContainerId()'..\..\..\..\Android\Qt\482\armeabi\include\QtCore/qlist.h
etc.

When I search the internet some solution, One solution was:
http://www.qtcentre.org/threads/48965-Missing-library-quot-cannot-find-lQtMessaging-quot

I assumed the solution is correct
Reply all
Reply to author
Forward
0 new messages