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. Database Suggest with Qt Framework
Forum Updated to NodeBB v4.3 + New Features

Database Suggest with Qt Framework

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 1.6k 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.
  • ideadesignerI Offline
    ideadesignerI Offline
    ideadesigner
    wrote on last edited by
    #1

    Hello QDevnet,
    I want to make an desktop application to manage document database.

    • 1 server pc
    • 3-4 user
    • Lots of files(document)
      My aim is read the documents with sensor and save the database. Only document's id and reading time information.
      So, to make this project for my office, what is the best and free solution with Qt?
      For example, Qt with MySql or Qt with xxxxSql or whatever? I'm not a database expert. I need a free and correct solution my project.
      Thanks four your support.
      Best regards,
    jsulmJ 1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      If u want ev everything free better go MySQL on ubuntu. It should work. U can check how to work with qt and db in google.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      2
      • ideadesignerI ideadesigner

        Hello QDevnet,
        I want to make an desktop application to manage document database.

        • 1 server pc
        • 3-4 user
        • Lots of files(document)
          My aim is read the documents with sensor and save the database. Only document's id and reading time information.
          So, to make this project for my office, what is the best and free solution with Qt?
          For example, Qt with MySql or Qt with xxxxSql or whatever? I'm not a database expert. I need a free and correct solution my project.
          Thanks four your support.
          Best regards,
        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @ideadesigner "read the documents with sensor" - what does this mean? What sensors? How can sensors read documents?
        If I understand you correctly (your description is unclear) you do not want to store documents in the db but some information like id (what ever it is) and access time? 3-4 users and small amount of data? Then you can just use SQLite - no need to install a SQL server then.

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

        1 Reply Last reply
        2
        • ideadesignerI Offline
          ideadesignerI Offline
          ideadesigner
          wrote on last edited by
          #4

          @dheerendra
          I've tried postgresql database and I've watched and red the qt examples.

          @jsulm
          Sorry for unclear explanation.
          From my GUI, I will query the document's last RFID log.(The document's place and document's reading time from hardware)
          Documents are tagged with RFID sticker.

          • I will read the documents's sticker with UHF hardware.
          • Amount of query transaction about ~200-300 in a day.
          • All of the documents about ~20000.
          jsulmJ 1 Reply Last reply
          0
          • ideadesignerI ideadesigner

            @dheerendra
            I've tried postgresql database and I've watched and red the qt examples.

            @jsulm
            Sorry for unclear explanation.
            From my GUI, I will query the document's last RFID log.(The document's place and document's reading time from hardware)
            Documents are tagged with RFID sticker.

            • I will read the documents's sticker with UHF hardware.
            • Amount of query transaction about ~200-300 in a day.
            • All of the documents about ~20000.
            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @ideadesigner Well, you can use MySQL or PostgreSQL, both are free and supported by Qt.

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

            1 Reply Last reply
            2
            • ideadesignerI Offline
              ideadesignerI Offline
              ideadesigner
              wrote on last edited by ideadesigner
              #6

              @jsulm Thanks, I have used PostgreSql and it worked. Also, I tried SQLite and it is easier than PostgreSql.
              No setup required and SQLite's querying interface on Qt is easier.

              jsulmJ 1 Reply Last reply
              1
              • ideadesignerI ideadesigner

                @jsulm Thanks, I have used PostgreSql and it worked. Also, I tried SQLite and it is easier than PostgreSql.
                No setup required and SQLite's querying interface on Qt is easier.

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

                @ideadesigner Yes SQLite is very easy to use as there is no server to install/configure and no connection between server and client needed.

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

                1 Reply Last reply
                0
                • CatarinoC Offline
                  CatarinoC Offline
                  Catarino
                  wrote on last edited by
                  #8

                  Qt opensource can connect to any SQL server, even without having the specific driver using the ODBC driver.

                  Best regards,

                  M. Catarino

                  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