Deploy a Qt C++ shared library's dll in subfolder of the main executable -


i have qt5 c++ project main app , (created me) shared library. compiles , executes , able deploy it. issue is, deployment need put compiled dll of shared library in same directory main executable. however, preffer keep top level folder relatively clean , put necessary files in appropriate sub-tree of folders. so, question is, should put in *.pro file in order change path of dll myapp/mylib, myapp folder main app's executable resides.

since windows search of dll's program, , not program itself, can't tell makefile search libraries.

you can, however:

  • add desired folder dll's go path.
  • make startup script, sets path libraries are, , start program.
  • compile statically, if comply lpgl or qt comercial license, depending case.

as side note: qt plugins want, core dependencies aren't qt plugins themselves.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -