Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    [Solved] Qt SQLite after setup

    General and Desktop
    2
    5
    1034
    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
      moravas last edited by

      Hi Folks,

      I have a project, which uses QSQLite. From the source, I generate a setup included with the "Qt5Sql.dll" file ( I guess, it needs for handling SQLite databases ).
      When a customer install the application, it is unable to create tables in the databse file.
      I checked the access rights to the file ( it is correct), I tried to create tables manualy (it works)... i don't have any idea.
      Did I forgot to include a .dll to the setup? Can anybody help me? It's a quite important for me...

      Regards,
      Norbert

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

        Hi,

        You are missing the sql relate plugins that can be found in plugins/sqldrivers

        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 Reply Quote 0
        • M
          moravas last edited by

          Hi,

          I put the qsqlite.dll into the setup, it appears on the client's machine, but the result is same. Do you have any other idea?

          OFF: what is the difference between the qsqlite.dll and qsqlited.dll dlls?

          Regards,
          Norbert

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

            Did you put it the correct folder ?

            Have a look at this fine wiki "entry":http://qt-project.org/wiki/Deploy_an_Application_on_Windows to see how it should be done.

            the d version is for debug

            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 Reply Quote 0
            • M
              moravas last edited by

              Hi,

              thanks a lot: I just put the qsqlite.dll next to any other dll's insted aof the "sqldrivers" folder. Thank you!

              Regards,
              Norbert

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