Results 1 to 12 of 12

Thread: Install Qwt 5.1.1 with Qt 4.4.1 and VC++ 2008

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Windows
    Thanks
    2

    Default Re: Install Qwt 5.1.1 with Qt 4.4.1 and VC++ 2008

    Quote Originally Posted by WXNSNW View Post
    Hi,

    Am also trying to install QWT. How to link the libraries to debug and release

    Try putting in your .pro file these declarations:

    DEFINES += QWT_DLL
    INCLUDEPATH+=C:\Qt\4.4.1\src\3rdparty\qwt-5.1.1\src
    debug {
    LIBS+=C:\Qt\4.4.1\lib\qwtd5.lib
    }

    release {
    LIBS+=C:\Qt\4.4.1\lib\qwt5.lib
    }
    You have to put correct paths to your QWT installation, of course.

  2. #2
    Join Date
    Sep 2008
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Windows
    Thanks
    2

    Default Re: Install Qwt 5.1.1 with Qt 4.4.1 and VC++ 2008

    Actually it seems that it should be something like this:

    DEFINES += QWT_DLL
    CONFIG+= debug
    INCLUDEPATH+=C:\Qt\4.4.1\src\3rdparty\qwt-5.1.1\src

    CONFIG(debug, debug|release) {
    LIBS += C:\Qt\4.4.1\lib\qwtd5.lib
    } else {
    LIBS += C:\Qt\4.4.1\lib\qwt5.lib
    }
    to link with release LIBS just change CONFIG+= debug to CONFIG+= release

  3. #3
    Join Date
    Jun 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Install Qwt 5.1.1 with Qt 4.4.1 and VC++ 2008

    Please post the steps to build QWT using VS2008. I download Qwt 5.2.0 and able to build in using Mingw32 compiler but I couldn't figure out how to do it successfully in VS compiler.

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.