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. [solved:)]load information from database

[solved:)]load information from database

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.3k 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.
  • Y Offline
    Y Offline
    yakine
    wrote on last edited by
    #1

    hello everybody
    so am triying to load information from database using qt this information is located in one of the column of a database atable iwant to place this info in a Qstring please help if any one have an idea to do this thank you

    IF YOU HAVE MERCY ON PEOPLE GOD HAVE MERCY ON YOU

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      have a look at this links to get started :

      "sql connection":http://qt-project.org/doc/qt-4.8/sql-connecting.html
      "Executing SQL Statements":http://qt-project.org/doc/qt-4.8/sql-sqlstatements.html

      First you get a connection to a database and then you use a query to get the values you want.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yakine
        wrote on last edited by
        #3

        hello Eddy
        thank you so much it's work for me

        IF YOU HAVE MERCY ON PEOPLE GOD HAVE MERCY ON YOU

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yakine
          wrote on last edited by
          #4

          so if any one have the same problem all that you have to do it's to read what eddy have suggest for me

          IF YOU HAVE MERCY ON PEOPLE GOD HAVE MERCY ON YOU

          1 Reply Last reply
          0
          • EddyE Offline
            EddyE Offline
            Eddy
            wrote on last edited by
            #5

            You're welcome!

            Happy coding

            Qt Certified Specialist
            www.edalsolutions.be

            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