Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to read data in questDB with QT application?
Forum Updated to NodeBB v4.3 + New Features

How to read data in questDB with QT application?

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 5 Posters 754 Views 2 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.
  • N Offline
    N Offline
    newKid
    wrote on 15 Aug 2023, 14:21 last edited by
    #1

    How to read data in questDB with QT application?
    Many thanks!

    P 1 Reply Last reply 15 Aug 2023, 15:54
    0
    • N newKid
      15 Aug 2023, 14:21

      How to read data in questDB with QT application?
      Many thanks!

      P Online
      P Online
      Pl45m4
      wrote on 15 Aug 2023, 15:54 last edited by
      #2

      @newKid

      • https://doc.qt.io/qt-6/sql-connecting.html

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      C 1 Reply Last reply 15 Aug 2023, 16:02
      0
      • P Pl45m4
        15 Aug 2023, 15:54

        @newKid

        • https://doc.qt.io/qt-6/sql-connecting.html
        C Offline
        C Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 15 Aug 2023, 16:02 last edited by
        #3

        @Pl45m4 But since we don't have a sql-driver for this database the only way is to either use the c++ api from this database directly or write a new sql plugin.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        P 1 Reply Last reply 15 Aug 2023, 16:54
        3
        • C Christian Ehrlicher
          15 Aug 2023, 16:02

          @Pl45m4 But since we don't have a sql-driver for this database the only way is to either use the c++ api from this database directly or write a new sql plugin.

          P Online
          P Online
          Pl45m4
          wrote on 15 Aug 2023, 16:54 last edited by
          #4

          @Christian-Ehrlicher

          I have said nothing else ;-)

          But I'm wondering if the QPSQL driver will work

          • https://questdb.io/docs/develop/connect/

          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          0
          • N Offline
            N Offline
            newKid
            wrote on 16 Aug 2023, 02:43 last edited by
            #5

            Yes, I am trying to connect questDB with complied postgrespl driver, since questDB says it supports PostgreSQL wire protocol in https://questdb.io/docs/develop/query-data/.
            Till now, I still don't make it with complied postgrespl driver.
            I have no idea that complied postgrespl driver is the same as complied postgrespl driver in QT?
            Thanks a lots!

            C 1 Reply Last reply 16 Aug 2023, 04:25
            0
            • N newKid
              16 Aug 2023, 02:43

              Yes, I am trying to connect questDB with complied postgrespl driver, since questDB says it supports PostgreSQL wire protocol in https://questdb.io/docs/develop/query-data/.
              Till now, I still don't make it with complied postgrespl driver.
              I have no idea that complied postgrespl driver is the same as complied postgrespl driver in QT?
              Thanks a lots!

              C Offline
              C Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 16 Aug 2023, 04:25 last edited by
              #6

              @newKid said in How to read data in questDB with QT application?:

              I have no idea that complied postgrespl driver is the same as complied postgrespl driver in QT?

              Qt does not compile any postgresql driver. It just creates a Qt plugin which is using the postgresql libs to connect to a psql database. If this does not work then you have to ask the questDB people what's wrong since the plugin works very well with a psql server.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              3
              • N Offline
                N Offline
                newKid
                wrote on 18 Aug 2023, 15:23 last edited by
                #7

                Thanks, I've made it with postgrespl native header file. It's ok to access questDB right now.

                P J 2 Replies Last reply 19 Aug 2023, 15:54
                0
                • N newKid
                  18 Aug 2023, 15:23

                  Thanks, I've made it with postgrespl native header file. It's ok to access questDB right now.

                  P Offline
                  P Offline
                  piervalli
                  wrote on 19 Aug 2023, 15:54 last edited by
                  #8

                  @newKid
                  Hi, nice project but I don't see track of security. Web application without login?

                  1 Reply Last reply
                  0
                  • N newKid
                    18 Aug 2023, 15:23

                    Thanks, I've made it with postgrespl native header file. It's ok to access questDB right now.

                    J Offline
                    J Offline
                    JianJian
                    wrote on 24 Oct 2023, 09:14 last edited by
                    #9

                    @newKid can you show the code how to made it, i have the same condition, use quesdb in qt application,tks

                    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