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. Get attributes' values from db
Qt 6.11 is out! See what's new in the release blog

Get attributes' values from db

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.1k Views
  • 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
    NMD1192015
    wrote on last edited by NMD1192015
    #1

    Hi. I'm developing an application in C++, interfaced whit mysql DBMS, and I need to get some attributes' values from some table to create an objcet, so I need that all the attributes maintain their types..

    I've tried to look up on the manual for some suggestion but I haven't found nothing of useful

    So I would ask some help to someone whose surely know QT's methods better than me, cause I'm a novice in Qt world..

    Exactly I need to get; QString, int, and data type, to converto to a QData type..

    thancks in advance

    Davide

    jsulmJ 1 Reply Last reply
    0
    • N NMD1192015

      Hi. I'm developing an application in C++, interfaced whit mysql DBMS, and I need to get some attributes' values from some table to create an objcet, so I need that all the attributes maintain their types..

      I've tried to look up on the manual for some suggestion but I haven't found nothing of useful

      So I would ask some help to someone whose surely know QT's methods better than me, cause I'm a novice in Qt world..

      Exactly I need to get; QString, int, and data type, to converto to a QData type..

      thancks in advance

      Davide

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

      @NMD1192015 You should start here http://doc.qt.io/qt-5/sql-programming.html

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

      N 1 Reply Last reply
      3
      • jsulmJ jsulm

        @NMD1192015 You should start here http://doc.qt.io/qt-5/sql-programming.html

        N Offline
        N Offline
        NMD1192015
        wrote on last edited by
        #3

        @jsulm thanks a lot man

        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