Results 1 to 2 of 2

Thread: QNetWorkAccessManager: the handle is invalid?

  1. #1
    Join Date
    Nov 2013
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default QNetWorkAccessManager: the handle is invalid?

    Hi,
    I'm working on win7x64 using vs2010x86 and qt5.2.1(msvc2010_opengl). I've created my qt-project with qt-vs-addin and then try to new a instance of QNetWorkAccessManager with the following code:
    QNetWorkAccessManager* qnam = new QNetworkAccessManager();
    But vs report that "the handle is invalid" and so the connect won't work. Anyone can help me?Thanks.

  2. #2
    Join Date
    Nov 2013
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QNetWorkAccessManager: the handle is invalid?

    sloved by connecting to the QNetWorkReply instance's signal returned by QNetWorkAccessManager::get().

Similar Threads

  1. Best way to handle XML fragments?
    By pherthyl in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2010, 18:21
  2. How to Handle pop up windows?
    By thewooferbbk in forum Qt Programming
    Replies: 0
    Last Post: 29th November 2009, 03:36
  3. handle exception in Qt
    By Qt Coder in forum Qt Programming
    Replies: 4
    Last Post: 6th April 2009, 06:05
  4. How to Handle new Qt?
    By ashukla in forum General Programming
    Replies: 3
    Last Post: 3rd March 2008, 11:50
  5. Handle DockWidgets
    By jwintz in forum Qt Programming
    Replies: 2
    Last Post: 8th June 2006, 15:55

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.