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. Windows Deployment
Forum Updated to NodeBB v4.3 + New Features

Windows Deployment

Scheduled Pinned Locked Moved Solved General and Desktop
19 Posts 5 Posters 901 Views 1 Watching
  • 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.
  • TheCipo76T Offline
    TheCipo76T Offline
    TheCipo76
    wrote on last edited by
    #10
    This post is deleted!
    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher

      @TheCipo76 said in Windows Deployment:

      mysqlclient.lib

      This is not a dll so what do you want with this?
      RTM: https://doc.qt.io/qt-6/sql-driver.html#qmysql

      TheCipo76T Offline
      TheCipo76T Offline
      TheCipo76
      wrote on last edited by TheCipo76
      #11

      @Christian-Ehrlicher i don't know.. i'm just following @jsulm

      This is app folder

      appFolder.JPG

      and this is sqldrivers folder

      sqlDriverFolder.JPG

      jsulmJ 1 Reply Last reply
      0
      • TheCipo76T TheCipo76

        @Christian-Ehrlicher i don't know.. i'm just following @jsulm

        This is app folder

        appFolder.JPG

        and this is sqldrivers folder

        sqlDriverFolder.JPG

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #12

        @TheCipo76 Sorry, didn't realized you posted lib, of course you need to deploy dll. lib is for linking, not running.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        TheCipo76T 1 Reply Last reply
        0
        • jsulmJ jsulm

          @TheCipo76 Sorry, didn't realized you posted lib, of course you need to deploy dll. lib is for linking, not running.

          TheCipo76T Offline
          TheCipo76T Offline
          TheCipo76
          wrote on last edited by
          #13

          @jsulm no problem.. you are helping me and i appreciate it ;)

          how can i deploy it?

          jsulmJ 1 Reply Last reply
          0
          • TheCipo76T TheCipo76

            @jsulm no problem.. you are helping me and i appreciate it ;)

            how can i deploy it?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #14

            @TheCipo76 You just copy it to your deployed application folder

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            TheCipo76T 1 Reply Last reply
            0
            • jsulmJ jsulm

              @TheCipo76 You just copy it to your deployed application folder

              TheCipo76T Offline
              TheCipo76T Offline
              TheCipo76
              wrote on last edited by
              #15

              @jsulm i've searched mysqlclient.dll but i have none with this name
              i've only mysqlclient.lib

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bonnie
                wrote on last edited by Bonnie
                #16

                It should be libmysql.dll. You already have it in your sqldrivers folder, move it to the app folder.
                Also, where does this dll file come from? If it is from mysql package there is a chance that it also need msvc and openssl runtime to load.
                If you still cannot load the plugin, you need to check that with DependencyWalker

                aha_1980A 1 Reply Last reply
                1
                • B Bonnie

                  It should be libmysql.dll. You already have it in your sqldrivers folder, move it to the app folder.
                  Also, where does this dll file come from? If it is from mysql package there is a chance that it also need msvc and openssl runtime to load.
                  If you still cannot load the plugin, you need to check that with DependencyWalker

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #17

                  @Bonnie Unfortunately Dependency Walker does not help when the DLL is loaded dynamically at runtime :(

                  Otherwise you are correct.

                  Regards

                  Qt has to stay free or it will die.

                  B 1 Reply Last reply
                  0
                  • TheCipo76T Offline
                    TheCipo76T Offline
                    TheCipo76
                    wrote on last edited by
                    #18

                    I've removed and reinstalled MySql connector and
                    re-build the drivers and now all works
                    Thanks to all

                    1 Reply Last reply
                    0
                    • TheCipo76T TheCipo76 has marked this topic as solved on
                    • aha_1980A aha_1980

                      @Bonnie Unfortunately Dependency Walker does not help when the DLL is loaded dynamically at runtime :(

                      Otherwise you are correct.

                      Regards

                      B Offline
                      B Offline
                      Bonnie
                      wrote on last edited by
                      #19

                      @aha_1980 Actually I mean using Dependency Walker to check libmysql.dll :)

                      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