Qt SDK version 1.1.3 without prebuilt NFC?
Qt SDK 1.1.3 release stated that it should contain Mobility Package 1.2. If I've understood correct, the Mobility package 1.2 should include connectivity am I right? However I can only find Meego headers for NFC and I can't compile out of the box the NFC examples for Nokia C7 for instance.
Is there such an easy way to do this as it was with the Qt Mobility 1.2 beta for NFC: [URL="https://projects.developer.nokia.com/QtM12bSymb"]https://projects.developer.nokia.com/QtM12bSymb[/URL]? Or do I need to compile Qt Mobility 1.2 manually for each compatible symbian sdk and then set those up for the correct symbian sdks inside Qt SDK 1.1.3?
Re: Qt SDK version 1.1.3 without prebuilt NFC?
Ok, so here it's said, [URL="http://www.developer.nokia.com/Community/Wiki/About_NFC"]http://www.developer.nokia.com/Community/Wiki/About_NFC[/URL] (Overviwe), how to develop NFC apps for Symbian and apparently there's no changes to that yet:
[QUOTE]Development is supported in:
Qt SDK 1.1, with the Qt Mobility 1.2 beta for Symbian add on for the Qt SDK 1.1 installed
NetBeans, Eclipse, and Carbide.c++, with the Symbian^3 SDK 1.0 and NFC plug-in for the Nokia Symbian^3 SDK 1.0 installed. [/QUOTE]
Re: Qt SDK version 1.1.3 without prebuilt NFC?
Hey, it worked! Actually the build configuration for Qt 4.7.4 Symbian Belle had everything needed to compile NFC or at least I didn't get errors. However after installing 4.7.4+Mobility1.2 to my C7 and then my test application, I couldn't start target detection (return value was all the time false). Is't due to the fact that my C7 is still Anna not Belle? So should I after all get back to using Mobility 1.2 beta + older Qt SDK 1.1 until there will be updates for the Qt SDK? By the way is it already possible to publish NFC enabled Qt app via Ovi Store?
Here's the code
[QUOTE] nfm = new QNearFieldManager();
QObject::connect( nfm, SIGNAL(targetDetected ( QNearFieldTarget* ) ), this, SLOT(handleTarget(QNearFieldTarget*)));
QObject::connect( nfm, SIGNAL(targetLost ( QNearFieldTarget* ) ), this, SLOT(targetLost(QNearFieldTarget*)));
nfm->setTargetAccessModes(QNearFieldManager::NdefWriteTargetAccess);
if(!nfm->startTargetDetection())
QMessageBox::about( NULL, tr( "Error" ), tr("Cannot detect nfc tags") );[/QUOTE]
Re: Qt SDK version 1.1.3 without prebuilt NFC?
You should be able to install the Qt Mobility 1.2 and should work on Anna (haven't tried myself yet but will later). See this bug for issue on sis file for S^3: [url]https://bugreports.qt.nokia.com/browse/QTMOBILITY-1835[/url] I post back when I have luck.
Re: Qt SDK version 1.1.3 without prebuilt NFC?
Seems OK trying on Nokia Astound to use the QtM 1.2 sis file from here until an update is posted to fix this: [url]http://labs.qt.nokia.com/2011/04/12/qt-mobility-1-2-beta-package-released/[/url]
That's just checking that QNearFieldManager::isAvailable() returns true.
Re: Qt SDK version 1.1.3 without prebuilt NFC?
[QUOTE=Haapakanni;858396]Hey,..... ... By the way is it already possible to publish NFC enabled Qt app via Ovi Store?
Here's the code[/QUOTE]
Yes it is possible to publish to ovi and there are application already in ovi store
Re: Qt SDK version 1.1.3 without prebuilt NFC?
Yep, it works: what I did was that I installed "Qt 4.7.4 for Symbian Belle" [I](maybe not needed but installed anyway)[/I] on device and then the qt-mobility-1.2.0-beta1-symbian3-nokia-signed.sis (this mobility beta one fixed the problem of startTargetDetection). Not sure if the 4.7.4 for belle was required to make it work but anyway after all I could use Qt SDK 1.1.3 to compile NFC app which I was able to run in C7. Thanks!
Now if I try to publish the compiled app I wonder will it be accepted as it is or will there be some binary level issues?
[QUOTE=timm-ah;858546]Seems OK trying on Nokia Astound to use the QtM 1.2 sis file from here until an update is posted to fix this: [url]http://labs.qt.nokia.com/2011/04/12/qt-mobility-1-2-beta-package-released/[/url]
That's just checking that QNearFieldManager::isAvailable() returns true.[/QUOTE]