You can put the DLLs in the same path as the .exe file, too.
On Tue, Dec 21, 2010 at 10:42 PM, Bob Babcock <[email protected]> wrote: > Manoj Agrawal <[email protected]> wrote in > news:6555ece2dcaa9349a5333e13972eafd7115ec31...@itdalex06.it.maxim-ic.int > ernal: >> What do you mean by VC++ executables? Are you running your Qt project >> using run command in Qt creator or by double clicking on executable in >> explorer? I just have these paths set on my windows system, and it >> works without copying anything. > > After some exprimentation, I see what is happening. If I do not have any > Qt DLLs in c:\windows\system32 (and QTDIR and PATH are set right in > Creator), I can run executables built with either MinGW or VC++ with the > Run button in Creator. But if I copy Qt DLLs into system32, then these are > found first and it matters which DLLs they are. > > The reason for copying Qt DLLs to system32 was so that I could run Qt apps > from shortcuts outside of Creator (without having Qt DLLs in the same > directory as the application). > > The solution is to have my shortcuts add the appropriate Qt DLL directory > to the beginning of the path before starting the program. Then I don't > need to put Qt DLLs in system32. > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
