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. [Solved] Qt SQLite after setup
QtWS25 Last Chance

[Solved] Qt SQLite after setup

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.2k 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
    moravas
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        moravas
        wrote on last edited by
        #3

        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
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0
          • M Offline
            M Offline
            moravas
            wrote on last edited by
            #5

            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
            0

            • Login

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