Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Quick Demo - RESTful API client Address Book
Forum Updated to NodeBB v4.3 + New Features

Qt Quick Demo - RESTful API client Address Book

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 3 Posters 1.0k 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
    Pradson
    wrote on last edited by
    #1

    Hi,

    I am searching the source code of below mentioned example but failed. Can anyone share the source code link?

    https://doc.qt.io/qt-6/qtdoc-demos-addressbook-example.html

    Thanks,
    Pradson

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I would say here: https://github.com/qt/qtdoc/tree/91e567ba53bf8c7be9aff8feb00e46f978937290/examples/demos/addressbook

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pradson
        wrote on last edited by
        #3

        Hi,

        Thanks a lot for reply.
        I have checked with the shared code. This example has the CMakeLists file. Is any tool available in Qt which could convert CMakeLists to .Pro file?

        Thanks,
        Pradson

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Why do you need to go back to a .pro file ?

          By the way, since Qt 6 has moved to CMake as its build system, users are also encouraged to do that.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Pradson
            wrote on last edited by
            #5

            Hi,

            As you had shared me the link of the example link (mentioned below), I have tried with Qt6.4 and MSVC2019 for Window desktop application. Its working fine with "Addressbook" server example (mentioned below) application. Now, I have to move the addressbook client application from desktop to web. For that, I have build addressbook client application using Qt6.4 webAssembly and Emscripten compiler. The addressbook client application have been built and run on the web browser but not in functional state. I mean I am unable to send any command to addressbook server example application.

            Kindly suggest how should I implement the client application so that I could make it functional from web browser.

            addressbook client example link-
            https://github.com/qt/qtdoc/tree/91e567ba53bf8c7be9aff8feb00e46f978937290/examples/demos/addressbook

            addressbook server example link-
            https://doc.qt.io/qt-6/qthttpserver-addressbook-example.html

            Thanks,
            Pradson

            jsulmJ 1 Reply Last reply
            0
            • P Pradson

              Hi,

              As you had shared me the link of the example link (mentioned below), I have tried with Qt6.4 and MSVC2019 for Window desktop application. Its working fine with "Addressbook" server example (mentioned below) application. Now, I have to move the addressbook client application from desktop to web. For that, I have build addressbook client application using Qt6.4 webAssembly and Emscripten compiler. The addressbook client application have been built and run on the web browser but not in functional state. I mean I am unable to send any command to addressbook server example application.

              Kindly suggest how should I implement the client application so that I could make it functional from web browser.

              addressbook client example link-
              https://github.com/qt/qtdoc/tree/91e567ba53bf8c7be9aff8feb00e46f978937290/examples/demos/addressbook

              addressbook server example link-
              https://doc.qt.io/qt-6/qthttpserver-addressbook-example.html

              Thanks,
              Pradson

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Pradson said in Qt Quick Demo - RESTful API client Address Book:

              I mean I am unable to send any command to addressbook server example application

              So, did you debug your client app to see what happens?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • P Offline
                P Offline
                Pradson
                wrote on last edited by
                #7

                Hi,

                I am getting below mentioned error, when I am trying to connect QHttpServer desktop application from WebAssembly client application which is running on browser. I am Using QNetworkAccessManager module in the webAssembly client appliaction to access QHttpServer application here.

                Error:

                qtloader.js:370 Reply Error Code:  QNetworkReply::ProtocolUnknownError
                

                Thanks,
                Pradson

                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