Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Polish
  4. Ajax w qt
Forum Updated to NodeBB v4.3 + New Features

Ajax w qt

Scheduled Pinned Locked Moved Polish
2 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    piyak
    wrote on last edited by
    #1

    Czy ktoś wie jak obsłużyć żądanie typu Ajax w qt? i czy wogole można cos takiego zrobic?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Ajax to po prostu szumna nazwa na asynchroniczne zapytanie HTTP.
      Nie napisałeś czy chodzi ci o klienta czy serwer.
      Jeśli klient to tak jak każde inne zapytanie HTTP możesz zrobić za pomocą QNetworkAccessManager, który ma metody get(), post() itp.
      Serwer HTTP możesz zmontować z pomocą QTcpServer. Tu masz przykład najprostszego serwera z minimalną funkcjonalnością: http://doc.qt.digia.com/solutions/4/qtservice/qtservice-example-server.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved