Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. viewing sqlquerymodel/c++ on a qml listview
Forum Updated to NodeBB v4.3 + New Features

viewing sqlquerymodel/c++ on a qml listview

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 729 Views 2 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.
  • T Offline
    T Offline
    tomahawk123
    wrote on last edited by
    #1

    before asking the question i want to say that i'm a little bit familiar with QML i'm working on a CRM Desktop application that it uses a database i'm making a good progress when it comes to use QT widget applications but in order to style my application i found myself learning the qml language and i was impressed by the simplicity and magique of fronting with this language the problem is i was stuck on manipulating the data of the database "QSQLQueryModel" to QML list view is there anyone who can provide me such a simple and easy way to make this happen ? thank you everyone :)

    raven-worxR 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      There are two wiki articles about that:

      • QML and QSqlTableModel
      • How to use a QSqlQueryModel in QML

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T tomahawk123

        before asking the question i want to say that i'm a little bit familiar with QML i'm working on a CRM Desktop application that it uses a database i'm making a good progress when it comes to use QT widget applications but in order to style my application i found myself learning the qml language and i was impressed by the simplicity and magique of fronting with this language the problem is i was stuck on manipulating the data of the database "QSQLQueryModel" to QML list view is there anyone who can provide me such a simple and easy way to make this happen ? thank you everyone :)

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @tomahawk123
        another link which might be interesting for you.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        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