Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

DLL Qt5Cored not Found.

$
0
0
Hello All, I was hoping someone could lend me a hand with this problem I am having. Goal #1: I am attempting to create an adaptable developement enviroment for work, so I would like to avoid directly adding paths into the PATH variable for the system. Goal #2: I want to avoid copying any dlls into the program folder, I would rather acess them through the added enviromental paths in Visual Studio. So with the Qt VS plugin I have the path for my QT folder set correctly to: C:\Qt\Qt5.1.1\5.1.1\msvc2012_64_opengl. My project has this set as its QT version( I have QT4 as well, but the 5.1.1 is selected in the plugin) Now using the default macro in VS for $(QTDIR) allows me to find both the .h files compiling, and the .lib files for linking, but it never finds the QT Dlls at run-time. The QT plugin appears to auto-add “PATH=$(QTDIR)\bin;…” to the start of my enviroment settings in configuration/debugging which is exactly what I want, but it doesn’t seem able to find anything at run-time. Does anyone have any experience with this problem, or can someone help point me in the right direction? Just to confirm, I have found that if I copy the required QT5 dlls into the executable folder the application runs fine, but I want to avoid having to do this. Enviroment: Windows 7 64-bit Visual Studio C++ 2012 Professional Qt 5.1.1 64-bit pre-built with opengl. Qt Vs plugin 1.2.2

Viewing all articles
Browse latest Browse all 2113

Trending Articles