Results 1 to 11 of 11

Thread: QtNetworkConfigurationManager

  1. #1
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QtNetworkConfigurationManager

    Hi there, any idea why I can use this :

    #include <QtNetworkConfigurationManager>

    It seems that it doesnt exist? I am using qt creator 1.3.1

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtNetworkConfigurationManager

    QtNetworkConfigurationManager or QNetworkConfigurationManager?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QtNetworkConfigurationManager

    #include <QNetworkConfigurationManager>

    I am trying to run the simple example Qt has for a server , but this class doesnt exist

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtNetworkConfigurationManager

    It was introduced in 4.7.0. Seems you have an older release.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QtNetworkConfigurationManager

    Well,

    I just download the qt sdk 2010 last version. And I still have the same problem

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtNetworkConfigurationManager

    Did you enable the networking module?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QtNetworkConfigurationManager

    Yes the networking module is enabled.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtNetworkConfigurationManager

    So #include <QTcpSocket> works but #include <QNetworkConfigurationManager> doesn't?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QtNetworkConfigurationManager

    Yes exactly.

    #include <QTcpSocket> works but not the <QNetworkConfigurationManager>


    Added after 13 minutes:


    Also another thing i just tested is:

    The qnetworkConfigurationManager is not working on my ubuntu OS but i just downloaded the qt sdk 2010 for windows and there is fine.

    So whats wrong with my ubuntu installation.
    Last edited by denton17; 4th November 2010 at 21:55.

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtNetworkConfigurationManager

    Are you sure you have Qt 4.7.0 installed? Which Qt version does Creator report in its settings?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  11. #11
    Join Date
    Oct 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QtNetworkConfigurationManager

    Ok, finally i found the solution.

    It seems that even though I download the SDK 2010, because I didn't uninstall the previous version there was something wrong. So I uninstall everything, and install the qt sdk 2010 and it works.

    Thanks a lot for you help wysota

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.