Qt on VS 2017: Link DLLs at Runtime
I just started using Qt on VS today and I am running into a small issue.
I can build my solution with no problems, both in Debug and Release mode 64-bit, but when I try to run it I get run time errors.
The errors are all related about not finding DLL files at run time such as Qt5Widgets.dll and Qt5Core.dll.
How can I fix this issue properly? I have done some research and people suggest to copy these DLL files in the folder of where the .exe is created. Are there any other approaches I can use? For example changing some settings in the projects?
I would use Qt Creator but for the nature of my projects I need to use Visual Studio so please give me an end getting Qt properly working on Visual Studio. I need to run and debug my application within Visual Studio, that's all. I can compile but I cannot run it at all.
Thank you everyone for your help and tips.
Please don't post the same question in multiple sub-forum.
Closing this one.