Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2011

    Qt Mobility 1.2 and NFC issues


    I'm currently developping for a C7 phone with NFC enabled.
    I'm using Qt, and Mobility. As Qt Mobility 1.1 can't use NFC, i've been waiting for the 1.2 version.
    Well, it's out.
    I spend two days trying to compile it, and failed.
    I thought I could probably find some version of QtMobility 1.2 already compiled by someone else on internet, but couldn't.
    Then I found a 1.2 beta version, with NFC enabled, already compiled.
    I installed the .sis, then made a really simple app.

    This app successfully reads NFC NDEF tags, I can access tags content and such, all thanks to the function
    targetDetected(const QNdefMessage &message, QNearFieldTarget *target)
    But there is one BIG issue : the QNearFieldTarget is a null QObject. Therefore, I can't write the tag !
    I tried with several tag, with different technologies, with the same result.

    Obviously, there are several issues here :
    • It might be the beta version of mobility
    • I might do stuff wrong

    But then again, where can I find a final version of mobility for symbian, already compiled ('cause, seriously, I can't do it myself) ? Or what could I do wrong ?
    Thanks in advance, everyone.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Ahmedabad, Gujarat, India

    Re: Qt Mobility 1.2 and NFC issues

    hello christophe.pecquerie

    can you which NFC class are you using i checked QNearFieldManager and it has a signal void targetDetected ( QNearFieldTarget * target ).

    Which is different from the signal you have mentioned.

    To Write back to NFC tag you can save the target which you get in the above mentioned signal and using that you can write back.

Similar Threads

  1. Qt Mobility NFC APIs - bug in target access detection?
    By tomprice in forum Near Field Communication
    Replies: 2
    Last Post: 2011-06-27, 09:57
  2. problem compiling NFC APIs with Qt Mobility 1.2 Beta
    By nfcdeveloper in forum [Archived] Qt Mobility Project
    Replies: 6
    Last Post: 2011-06-08, 06:24
  3. Nokia Qt SDK and Qt Mobility - Installation Problems
    By napstar in forum [Archived] Qt SDKs and Tools
    Replies: 8
    Last Post: 2011-06-07, 13:40
  4. QT Creator - QT Mobility issues
    By stewarth01 in forum [Archived] Qt SDKs and Tools
    Replies: 14
    Last Post: 2011-02-01, 18:29
  5. Video playback with Qt 4.7 and Qt Mobility 1.1.0 on Symbian^3
    By santama in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-10-25, 14:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts