qwtd.lib not found
I am building an application using Visual Studio 2015 as IDE and the Qt framework on a Windows 10 system. I downloaded the Qwt libraries, following the instructions I found online step by step. In the end, I managed to install the Qwt framework successfully. The Qwt widgets even appear when I open QtDesigner in Visual Studio. So, it looks like everything's fine.
However, when I try to run my application it fails and I get an error message.
From German it translates as "The execution of the code cannot proceed, because qwt.dll could not be found. The problem can possibly be solved by re-installing the program."
- There is no problem with compilation or linking. However the program doesn't run.
- The error is present both in Release mode (here) and in Debug mode. (In debug, it is qwtd.lib)
I'm using Visual Studio 2015.
I have 3 versions of Qt installed: 5.6, Qt5.7.0 and Qt5.8.0, but I am using Qt5.8.0.
In th property pages, I added the path C:\Qt\Qt5.8.0\Qwt-6.1.3\include under "Additional Include Directories". I added the path C:\Qt\Qt5.8.0\Qwt-6.1.3\lib under "Additional Library Directories". Then I added qwtd.lib (for debug) or qwd.lib (for release) under "Additional Dependencies".
All the necessary Qt files are under the directory C:\Qt\Qt5.8.0
This directory has a sub-directory called 5.8, which in turn has the sub-directory msvc2015_64. The Qwt-6.1.3 directory, that contains the Qwt files is under the directory C:\Qt\Qt5.8.0.
So, it looks something like this:
// Qt5.8.0 ____5.8 _____msvc2015_64 _______bin ______lib ______other stuff _______Qwt-6.1.3 ___lib ___include ___other stuff
I'm stuck, so I need your help. Thank you very much.
Since the Qwt libs are under their own path, you have to modify the
PATHenvironment variable in the Run part of the Project panel and add the folder where the .dlls are contained.
@SGaist It worked. Thank you so much.