Installing QWT library for QT creator



  • I m using Linux operating system.I installed Qt Creator. I would like to use Qwt library. I downloaded qwt-6.1.0.tar.bz2 and unzipped to the desktop folder.

    I performed the following instruction for installation:

    ./configure
    But I could not install,So I googled Installing Qwt and found sourceforge website for installation. But I could not configure or understand how to install it.Can any one provide me with a step by step install of the QWT



  • Open up the .pro that comes with the library package and compile using QtCreator. Once the compile finishes, it should output libraries into the libs directory.

    add the following to your .pro in your project:
    @

    source include directory

    INCLUDEPATH += pathtoqwt/src

    destination directories

    CONFIG(debug, debug|release) {
    LIBS += -Lpathtoqwt/lib -lqwtd
    }
    CONFIG(release, debug|release) {
    LIBS += -Lpathtoqwt/lib -lqwt
    }
    @


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    There's no configure for Qwt, just use the qmake from your Qt installation then call make and make install.

    It's all explained "here":http://qwt.sourceforge.net/qwtinstall.html


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.