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 ...
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.
El lunes, 12 de noviembre de 2012 19:23:26 UTC-3, nfrfab escribió:
> 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 ...
> 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.
> El lunes, 12 de noviembre de 2012 19:23:26 UTC-3, nfrfab escribió:
>> 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 ...
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::QMessageCon tentContainerId 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::QMessageAccou ntId 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.
El lunes, 26 de noviembre de 2012 14:04:04 UTC-3, BogDan escribió:
> It is something wrong with the QtMobility shipped by Necessitas SDK ?
> BogDan.
> 2012/11/13 nfrfab <nfrf...@argentina.com <javascript:>>: > > 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.
> > El lunes, 12 de noviembre de 2012 19:23:26 UTC-3, nfrfab escribió:
> >> 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 ...
> 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 ?
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.
> 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 ?