Qt World Summit: Submit your Presentation

Error while installing the QWT library

  • I m using qt 4.8.6 on Linux OS

    I followed the instructions of the video


    and I ran these commands

    svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.1
    gedit INSTALL

    But when I ran the make command I m getting an error

    -Inspiron-N5010:~/qwt-6.1$ make
    cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/USER/qwt-6.1/src/src.pro -o Makefile ) && make -f Makefile
    Project ERROR: Unknown module(s) in QT: svg
    make: *** [sub-src-make_first-ordered] Error 3

    How to Solve the error?

  • Moderators


    [quote author="bloodviper9000" date="1407381311"]I m using qt 4.8.6 on Linux OS


    cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake[/quote]You entered Qt 5's qmake into your command line. The output will not be compatible with Qt 4.8.6.

    Clean your project and use your Qt 4 qmake instead.

Log in to reply