×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    QNetworkSession in 1.0 RC

    Hello,

    I am using Nokia QT SDK RC because if I have understood well it is the only way to have Location API working on Symbian. I have tried to use QNetworkSession in my application but it fails with undefined reference to evritything related to QNetworkConfigManager. In my pro file I have :


    QT += core gui network xml
    CONFIG += mobility
    MOBILITY += location \ bearer

    and my .h :


    #include <QtNetwork>
    #include <qmobilityglobal.h>
    #include <QNetworkSession>
    #include <QNetworkConfigurationManager>
    #include <QNetworkConfiguration>

    Any idea ? Thanks

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QNetworkSession in 1.0 RC

    Do you have
    Code:
    using namespace QtMobility;
    in the header file?

  3. #3
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: QNetworkSession in 1.0 RC

    Yes I do have it.

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: QNetworkSession in 1.0 RC

    Probably won't make any difference, but either eliminate the backslash ("\") after "location" or put "bearer" on the next line. The backslash in this context should only be used to indicate that the statement is continued on the next line.

Similar Threads

  1. Qt SDK 1.0 RC with SSL support.
    By skumar_rao in forum [Archived] Qt SDKs and Tools
    Replies: 4
    Last Post: 2010-06-11, 14:23
  2. Nokia Qt Sdk 1 RC 1 - No QML Support
    By cristids in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2010-06-11, 12:31
  3. QNetworkSession->open() do not open nothing
    By tadu in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-06-03, 21:11
  4. How to playBack after rc.setRecordSizeLimit() in AudioRecording?
    By shreyasbellary in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-02-10, 06:36

Posting Permissions

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