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. Connection QML with SQLLite
Forum Updated to NodeBB v4.3 + New Features

Connection QML with SQLLite

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 3 Posters 2.1k 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.
  • J Offline
    J Offline
    jeanrl
    wrote on last edited by
    #1

    Hi people!

    I am start development in Android with QML and I need know how make to connect with database?

    Thanks.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vincent007
      wrote on last edited by
      #2

      "Qt Quick Local Storage QML Types":http://qt-project.org/doc/qt-5.1/qtquick/qmlmodule-qtquick-localstorage2-qtquick-localstorage-2.html

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jeanrl
        wrote on last edited by
        #3

        Ok, thanks for your reply, but I need to connect to a base outside the device (WEB) so I need to know how to connect and access. The application will access the cloud to exchange information.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Could you describe more precisely your "sqlite database outside the device" ?

          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
          • J Offline
            J Offline
            jeanrl
            wrote on last edited by
            #5

            Shure.

            I'll explain in detail what I do, so you can even give me some ideas, because I'm lost:

            I have a software that saves and query the records in the cloud (web host) and the other users access this data in the same way, because everything is in the cloud.

            I want to create a module for Android for him to consult this register, for now only "Select * from ...".

            It's simple when it comes to desktop and web, but as I'm now starting to develop for Android I'm confused.

            Get it? If you can not answer questions that ask.

            Thank you for your attention.

            Hugs.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Then you could have a look at "Enginio":https://engin.io/ it seems that it does what you need

              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
              • J Offline
                J Offline
                jeanrl
                wrote on last edited by
                #7

                Ok, I'll take a look.

                If anyone has any more suggestions I'm listening.

                Thank you.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jeanrl
                  wrote on last edited by
                  #8

                  Hi people!

                  I thought the way, so share with you:

                  http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML

                  Hugs for all

                  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