Results 1 to 2 of 2

Thread: Qt4.1.2 - QHttp

  1. #1
    Join Date
    Jan 2006
    Location
    Grenoble, France
    Posts
    165
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    106

    Default Qt4.1.2 - QHttp

    Wonder why ?

    #include <QHttp> compiler reports no such file
    #include <C:\Qt\4.1.2\include\QtNetwork\QHttp.h" finds it
    All other Qt includes work perfectly, so the the environment is correct.

    Strange thing is I have another application with the first instance that compiles 100% !!
    Is there another include to do on top of <QHttp> ?

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

    Default Re: Qt4.1.2 - QHttp

    You probably forgot to add "QT+=network" to your .pro file (remember to run qmake afterwards).

  3. The following user says thank you to wysota for this useful post:

    incapacitant (20th April 2006)

Similar Threads

  1. new QHttp() Error
    By fengtian.we in forum Qt Programming
    Replies: 7
    Last Post: 6th October 2010, 18:56
  2. problem in using QHttp
    By Ferdous in forum Newbie
    Replies: 4
    Last Post: 10th September 2008, 13:07
  3. From QHttp to QHttp over SSL
    By Nyphel in forum Newbie
    Replies: 1
    Last Post: 3rd July 2007, 11:41
  4. QHttp download file problem.
    By fengtian.we in forum Qt Programming
    Replies: 12
    Last Post: 12th June 2007, 10:39
  5. how to use QHttp inside QThread in Qt3
    By alusuel in forum Qt Programming
    Replies: 3
    Last Post: 14th July 2006, 12:19

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.