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.
  • deleted511D Offline
    deleted511D Offline
    deleted511
    wrote on 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.

    deleted511D 1 Reply Last reply
    0
    • deleted511D deleted511

      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.

      deleted511D Offline
      deleted511D Offline
      deleted511
      wrote on 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
      • RatzzR Offline
        RatzzR Offline
        Ratzz
        wrote on 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.

        deleted511D 1 Reply Last reply
        2
        • RatzzR Ratzz

          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.

          deleted511D Offline
          deleted511D Offline
          deleted511
          wrote on 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

          • Login

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