Mysql Static Dll
Connector/C++ is available as a dynamic or static library to use with your. To use a dynamic library file (.dll extension), link your application with a.lib import.
My understanding is that you are supposed to link against the.lib file, and the.dll is used at runtime. From: You link your code with either the dynamic or static C client library. On Windows, the static library is named mysqlclient.lib and the dynamic library is named libmysql.dll. In addition, the libmysql.lib static import library is needed for using the dynamic library. If the static C client library is used, the client application must be compiled with the same version of Visual Studio used to compile the C client library (which is Visual Studio 2013 for the static C client library built by Oracle). Regards, Juan On 6/1/18 9:53 AM, Romain LEGUAY wrote.
Tekst objyasneniya ob utere voditeljskogo udostovereniya v gibdd. On 6/1/2018 6:30 PM, Romain LEGUAY wrote: > Thank you for your answer. > > I just want to find the file libmysql.dll because it's needed to be > used with Qt (unless I did not understand how to use Qt's MySQL driver). > For now, I just do a simple copy of this file in my build folder, but > it's not a good method.
So, for Windows runtime you have to have the dll in the same directory as the exe or in the PATH. There is no concept of rpath built into an exe.
-Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe. Powered by Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe: -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe.
Romain -- Powered by Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe: -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe.