Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved how to set sql query result into table widgets

    General and Desktop
    2
    2
    255
    Loading More Posts
    • 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.
    • M
      Mahesh Arrajella last edited by

      can anyone please tell me the way to set sql query result into table widgets

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        You can use
        http://doc.qt.io/qt-5/qsqlquerymodel.html
        and a QTableView to directly show data.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post