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. Creating an executable file with Sqlite libraries.
QtWS25 Last Chance

Creating an executable file with Sqlite libraries.

Scheduled Pinned Locked Moved Unsolved General and Desktop
executable
4 Posts 2 Posters 1.7k 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.
  • D Offline
    D Offline
    deleted511
    wrote on 3 Aug 2016, 02:53 last edited by
    #1

    Good evening,

    I am creating an executable file to be able to run my GUI applications on a different computer. I created a folder with the required libraries for running the executable on a different computer that doesn't have QT installed and it works. I am wondering if I could do the same with SQLite libraries in QT, rather than installing the required software for SQLIte on the other computer to get the database working. Ive been searching but could only find old threads (4/5 years ago) that are outdated and not dependable. I created a subfolder in my main folder that has my (.exe) application in it called sqldrivers and copied all the (.dll) files from my qt>5.7>msvc2015_64>plugins>sqldrivers to it. I tested it out and the database doesnt work, so I am wondering if i need to include different libraries or I need to install SQLite software on the other computer.

    D 1 Reply Last reply 3 Aug 2016, 03:12
    0
    • D deleted511
      3 Aug 2016, 02:53

      Good evening,

      I am creating an executable file to be able to run my GUI applications on a different computer. I created a folder with the required libraries for running the executable on a different computer that doesn't have QT installed and it works. I am wondering if I could do the same with SQLite libraries in QT, rather than installing the required software for SQLIte on the other computer to get the database working. Ive been searching but could only find old threads (4/5 years ago) that are outdated and not dependable. I created a subfolder in my main folder that has my (.exe) application in it called sqldrivers and copied all the (.dll) files from my qt>5.7>msvc2015_64>plugins>sqldrivers to it. I tested it out and the database doesnt work, so I am wondering if i need to include different libraries or I need to install SQLite software on the other computer.

      D Offline
      D Offline
      deleted511
      wrote on 3 Aug 2016, 03:12 last edited by
      #2

      These are the libraries in my sqldrivers sub folder:
      -qslite.dll
      -qslited.dll
      -qsqlmysql.dll
      -qsqlmysqld.dll
      -qsqlodbc.dll
      -qsqlobdcd.dll
      -qsqlpsql.dll
      -qsqlpsqld.dll

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Ratzz
        wrote on 3 Aug 2016, 05:11 last edited by
        #3

        Use windeployqt tool . It will create a deployable folder containing the dependencies .
        Additionally use Dependency Walker to find out required libraries.
        This may help u https://wiki.qt.io/Deploy_an_Application_on_Windows.

        --Alles ist gut.

        D 1 Reply Last reply 3 Aug 2016, 15:32
        2
        • R Ratzz
          3 Aug 2016, 05:11

          Use windeployqt tool . It will create a deployable folder containing the dependencies .
          Additionally use Dependency Walker to find out required libraries.
          This may help u https://wiki.qt.io/Deploy_an_Application_on_Windows.

          D Offline
          D Offline
          deleted511
          wrote on 3 Aug 2016, 15:32 last edited by
          #4

          @Ratzz Thanks for the information regarding windowdeploy. I tried that initially but couldnt get it to work, although my .exe works on a different computer. I was just wondering if i could do the same with SQLite, I included the folder regarding sqlplatforms.

          1 Reply Last reply
          0

          1/4

          3 Aug 2016, 02:53

          • Login

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