PDA

View Full Version : How to share Qt Runtime files for two (manay) Qt applications?



binary001
7th May 2017, 17:19
Hi,

I distributed my Qt Applications with Qt Runtime Files on Windows platform.

eg. Application One is existed at C:/App1 folder
myapp.exe
Qt5Core.dll
Qt5Gui.dll
Qt5Widgets.dll
libwinpthread-1.dll
libstdc++-6.dll
libgcc_s_dw2-1.dll
icuuc53.dll
icuin53.dll
icudt53.dll

Application two is existed at C:/Program Files/MyApp2 folder
MyApp2.exe
run time file .... (I want to reference from C:/App1 folder)
Now I want to run my application two without duplicate runtime files in my C:/Program Files/MyApp2 folder.

How can I solve it?

Thanks in Advanced.

Lesiok
7th May 2017, 19:14
C:/Program Files/MyApp2 must be in PATH. You can edit environment variable PATH or start second application with BAT file :

PATH=C:/Program Files/MyApp2;%PATH%
C:/App1/app1.exe