Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73554

Deploy qsqldodbc.dll

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.12.1
    • SQL Support
    • None
    • Windows

    Description

      Hi everbody,

      I am in charge to get the latest version of QT running for my company. I built the sources by myself as we need OpenSSL for example. After preparing everything I could compile our first program with QT 5.12.1. We are working with several databases therefore we need the odbc driver lib. While deploying the new compiled program to a non-developer-PC I couldn't get the program run due to the missing qsqlodbc.dll even though I created the file qt.conf within the folder of the app containing
      [Paths]
      plugins=../System/plugins

      This folder contains the to folders 'platforms' and 'sqldrivers'. Everything works fine for qwindows.dll within the platforms folder but the exectuable tries to find the qsqlodbc.dll where it is stored in our development environments on C: drive. I can't copy the dll into the respective hard coded path as we don't have access to C: drive at all our customers side.

       

      Could anyone help me with this issue please? Everything I found as a hint while searching in the net didn't work:

      • copy dll into folder of app
      • copy sqldrivers folder into the folder of the app
      • copy plugins folder with respective subfolders into the folder of the app (and adjust qt.conf)
      • copy qsqlodbc.dll into the plugins folder without any subfolder
      • adjust qt.conf directly to the sqldrivers folder

      Any hint is really appreciated!

      Thanks in advance,
      Chris

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mabrand Mark Brand
            cd_lw Christopher Diez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes