Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qwtd.lib not found
QtWS25 Last Chance

qwtd.lib not found

Scheduled Pinned Locked Moved Solved Installation and Deployment
qt 5.8.0visual studioqwtinstallationwindows 10
3 Posts 2 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    onat
    wrote on 12 Jun 2018, 23:02 last edited by
    #1

    Hello everyone,
    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.
    0_1528843499508_error.png

    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."

    1. There is no problem with compilation or linking. However the program doesn't run.
    2. 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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 13 Jun 2018, 08:13 last edited by
      #2

      Hi,

      Since the Qwt libs are under their own path, you have to modify the PATH environment variable in the Run part of the Project panel and add the folder where the .dlls are contained.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      O 1 Reply Last reply 13 Jun 2018, 09:06
      2
      • S SGaist
        13 Jun 2018, 08:13

        Hi,

        Since the Qwt libs are under their own path, you have to modify the PATH environment variable in the Run part of the Project panel and add the folder where the .dlls are contained.

        O Offline
        O Offline
        onat
        wrote on 13 Jun 2018, 09:06 last edited by
        #3

        @SGaist It worked. Thank you so much.

        1 Reply Last reply
        0

        1/3

        12 Jun 2018, 23:02

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved