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. Searching from sqlite database from text

Searching from sqlite database from text

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 1.2k 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.
  • P Offline
    P Offline
    prabhatjha
    wrote on last edited by
    #1

    I have made SQLite database,
    But i am looking for a tuturial where i can learn how to search in this database from text by lineedit.

    So my idea is that the user issue a text to textfield, click on go button. And the app will search in the database in column 1 (for example ID) , then he will list up all possibilities.
    Then user can sellect from this list (the list can be made by tableview) after user select, the app will load otherview and show the data from the database.
    Lats say that i have 5 columns in one row in database. So i want to display all of them on the screen on a separate Label, all data in the database are only text.

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

      have a look at "this getting started guide":http://qt-project.org/wiki/developer-guides#65099ceac9c19e34e56a688784a0d866

      it shows you how to work with a sqlite database in Qt Quick.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prabhatjha
        wrote on last edited by
        #3

        i am not getting any help from this link...

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

          Sorry, but i don't know about a tutorial that gets closer to what you want.

          In another thread Jens announced" that they plan a blog on this subject":http://qt-project.org/forums/viewthread/41161/#171004

          So stay tuned on the blog section.

          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