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 755 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 last edited by
    #1

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

    Pl45m4P 1 Reply Last reply
    0
    • N newKid

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

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on 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

      Christian EhrlicherC 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @newKid

        • https://doc.qt.io/qt-6/sql-connecting.html
        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 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

        Pl45m4P 1 Reply Last reply
        3
        • Christian EhrlicherC Christian Ehrlicher

          @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.

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on 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 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!

            Christian EhrlicherC 1 Reply Last reply
            0
            • N newKid

              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!

              Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 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 last edited by
                #7

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

                piervalliP JianJianJ 2 Replies Last reply
                0
                • N newKid

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

                  piervalliP Offline
                  piervalliP Offline
                  piervalli
                  wrote on 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

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

                    JianJianJ Offline
                    JianJianJ Offline
                    JianJian
                    wrote on 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