Important: Qwt is a graphics extension to the Qt GUI application framework from Trolltech AS of Norway. It provides a 2D plotting widget and more, see the

The Installation and compile are based in unix platform.

  1. Installation of C++ compiler and developer tools

    1. echo -e Set a good repositories
    2. sudo apt-get update

    3. sudo apt-get upgrade

    4. sudo apt-get install build-essential

  2. Installation of qt libraries

    1. sudo apt-get install qt4-default

    2. sudo apt-get install qt4-dev-tools

    3. sudo apt-get install qt4-qmake
  3. Installation of QWT libraries from repositories (Debian’s way)

    1. See and read the license1
    2. Verify your platform2
    3. sudo apt-get install libqwt-dev

  4. Installation of QWT libraries from sources

    1. Download package from
    2. tar -xjvf qwt-6.1.2.tar.bz2
    3. cd qwt-6.1.2
    4. qmake
    5. make
    6. sudo make install

    7. //verify is libraries are located in /usr/local/qwt-6.1.2

  5. Building and implement a Qwt application

  6. Commons errors
    1. using qwt in QT Creator gives error Collect2: ld returned 1 exit status

      1. When the program present this error, we need define the library path of qwt in pro file, we need add
    2. error while loading shared libraries: cannot open shared object file: No such file or directory

      1. ln -s /usr/lib/qwt/ /usr/lib/
      2. or copy from compile directory cp -r qwt-6.1.2/lib/* /usr/lib/
1License Qwt is distributed under the terms of the Qwt License, Version 1.0.
2Platforms Qwt 6.1 might be usable in all environments where you find Qt. It is compatible with Qt4 ( >= 4.4 ) and Qt5.