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 set sql query result into table widgets

how to set sql query result into table widgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 336 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.
  • M Offline
    M Offline
    Mahesh Arrajella
    wrote on 25 Mar 2018, 09:23 last edited by
    #1

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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 25 Mar 2018, 12:08 last edited by
      #2

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

      1 Reply Last reply
      3

      1/2

      25 Mar 2018, 09:23

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved