Qt Creator Shared Library at runtime
-
Hi All,
When I create a project in QtCreator and it contains shared libraries (DLL) and an executable, and I compile with MSVC and run, it works just fine. When I then take that project into Visual Studio, it compiles but at runtime it complains about the missing DLLs part of my project. I have the Qt5 DLLs in my path so it doesn't complain about them. So it seems that Qt Creator/ qmake + msvc is somehow adding the location of the shared libraries to the debugging "environment path", so the exe can locate them and it works. This step seems to no be done in Visual studio when I import the qmake project across.
Does anyone know what the difference is and how can i get it to work without modifying the .pro files specifically for VS?
Thanks,