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 VIEW DATA FROM POSTGRESQL IN QT CREATOR?
Qt 6.11 is out! See what's new in the release blog

HOW TO VIEW DATA FROM POSTGRESQL IN QT CREATOR?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 1.1k Views 3 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.
  • E Offline
    E Offline
    eses
    wrote on last edited by eses
    #1

    Hi everyone! I am new here. I have to work with qt creator. I have a postgreSql database and i do not know how to list the data that is from db. Is there anybody here have an example about it?

    ODБOïO Pablo J. RoginaP 2 Replies Last reply
    0
    • E eses

      Hi everyone! I am new here. I have to work with qt creator. I have a postgreSql database and i do not know how to list the data that is from db. Is there anybody here have an example about it?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #4

      @eses said in HOW TO VIEW DATA FROM POSTGRESQL IN QT CREATOR?:

      work with qt creator

      just in case Qt Creator is an IDE, while Qt is a framework with several modules/libraries to perform different tasks (networking, DB access, etc.)

      So the documentation that @LeLev pointed you to is the description of the Qt class handling database access.
      You may also want to have a look at a more gentle introduction to SQL programming in Qt

      I'm not aware of a Qt Creator plugin to access SQL database(s) within the IDE.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • E eses

        Hi everyone! I am new here. I have to work with qt creator. I have a postgreSql database and i do not know how to list the data that is from db. Is there anybody here have an example about it?

        ODБOïO Offline
        ODБOïO Offline
        ODБOï
        wrote on last edited by
        #2

        @eses hi
        Qt has QSqlDatabase Class

        You can go to "Examples" tab in QtCreator and search for "database" or "sql" and you will see the official example projects

        1 Reply Last reply
        2
        • E Offline
          E Offline
          eses
          wrote on last edited by
          #3

          thanks. I am gonna check it out

          1 Reply Last reply
          0
          • E eses

            Hi everyone! I am new here. I have to work with qt creator. I have a postgreSql database and i do not know how to list the data that is from db. Is there anybody here have an example about it?

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on last edited by
            #4

            @eses said in HOW TO VIEW DATA FROM POSTGRESQL IN QT CREATOR?:

            work with qt creator

            just in case Qt Creator is an IDE, while Qt is a framework with several modules/libraries to perform different tasks (networking, DB access, etc.)

            So the documentation that @LeLev pointed you to is the description of the Qt class handling database access.
            You may also want to have a look at a more gentle introduction to SQL programming in Qt

            I'm not aware of a Qt Creator plugin to access SQL database(s) within the IDE.

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            2
            • E Offline
              E Offline
              eses
              wrote on last edited by
              #5

              thank you. Still have some struggle but hopefully i will handle it

              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