Results 1 to 3 of 3

Thread: Calling Webservices from QT4

  1. #1
    Join Date
    Apr 2007
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Calling Webservices from QT4

    Hi folks,

    I'm looking to write some code that calls a webservice from within QT4 (a flickr service). How would I approach this? Or is there a code snippet out there that could provide a basic example of how to do this?

    Regards,
    Declan

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

    Default Re: Calling Webservices from QT4

    The easiest way is to use QHttp with QDomDocument, but you'll have to form the request yourself.

  3. #3
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Calling Webservices from QT4

    you could also use gSOAP:
    http://www.cs.fsu.edu/~engelen/soap.html

    with gsoap you don't have to play around with xml-stuff...

    although gSOAP isn't so easy to use (some time ago I did some tests - which finally worked - but it wasn't really easy for me - probably because of my lack of c++ knowledge)

    niko

Similar Threads

  1. Replies: 4
    Last Post: 10th March 2007, 18:01
  2. Replies: 5
    Last Post: 6th March 2007, 05:34
  3. Replies: 2
    Last Post: 8th July 2006, 17:16
  4. Problems calling C function in C++/Qt class
    By Rayven in forum General Programming
    Replies: 2
    Last Post: 2nd June 2006, 21:32

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.