Results 1 to 4 of 4

Thread: Trouble Installing qwtpolar on ubuntu 16.04

  1. #1
    Join Date
    May 2017
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Trouble Installing qwtpolar on ubuntu 16.04

    Hello,

    Currently I am using Qt 5.5.1, Qwt 6.1.3 on ubuntu 16.04. I went through and installed qwt following the standard procedure (qmake, make, make install) and it installed fine. When I tried to install qwtpolar however i get an error during make that says:
    qwt_polar_fitter.h:13:30: fatal error: qwt_curve_fitter.h: No such file or directory

    I have tried doing qmake -set QMAKEFEATURES /user/local/qwt.6.1.3/features and then running the qwtpolar qmake and make again but the same error still pops up. I have no idea what else to do. Any help/guidance would be greatly appreciated.

    also i would like to note that i have been able to run the qwt examples, but have yet to install the qwt designer plugin, its on my list of things to do. Don't know if this matters.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Trouble Installing qwtpolar on ubuntu 16.04

    Disable "CONFIG += silent" in qwtpolarbuild.pri. Then you will at least see the include path used for locating the Qwt headers.

    Uwe

  3. #3
    Join Date
    May 2017
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Trouble Installing qwtpolar on ubuntu 16.04

    So i disabled CONFIG += silent but i didn't see anything related to qwt in the terminal when i ran make.
    this is the output i got after disabling the config in qwtpolarbuild.pri:
    cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/mohamedl/Downloads/qwtpolar-1.1.1/src/src.pro -o Makefile ) && make -f Makefile
    make[1]: Entering directory '/home/mohamedl/Downloads/qwtpolar-1.1.1/src'
    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQWT_POLAR_NO_SVG -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Imoc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o obj/qwt_polar_fitter.o qwt_polar_fitter.cpp
    In file included from qwt_polar_fitter.cpp:9:0:
    qwt_polar_fitter.h:13:30: fatal error: qwt_curve_fitter.h: No such file or directory
    compilation terminated.
    Makefile:465: recipe for target 'obj/qwt_polar_fitter.o' failed
    make[1]: *** [obj/qwt_polar_fitter.o] Error 1
    make[1]: Leaving directory '/home/mohamedl/Downloads/qwtpolar-1.1.1/src'
    Makefile:44: recipe for target 'sub-src-make_first-ordered' failed
    make: *** [sub-src-make_first-ordered] Error 2

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Trouble Installing qwtpolar on ubuntu 16.04

    Quote Originally Posted by mlahlou View Post
    So i disabled CONFIG += silent but i didn't see anything related to qwt in the terminal when i ran make.
    What indicates, that your qmake configuration didn't work as you should see the settings from .../features/qwt.prf.

    So better double check what you did - maybe trying to replace "CONFIG += qwt" in qwtpolarbuild.pri by an explicit: "include ( .../features/qwt.prf )"

    Uwe

Similar Threads

  1. Trouble installing mysql driver
    By premroxx in forum Newbie
    Replies: 4
    Last Post: 24th June 2012, 00:57
  2. Installing qwtpolar 1.0 on Linux
    By ufechner in forum Qwt
    Replies: 7
    Last Post: 11th December 2011, 10:55
  3. Problem installing qwt 6.0.1 - Ubuntu
    By breotone in forum Qwt
    Replies: 1
    Last Post: 19th October 2011, 22:54
  4. Replies: 1
    Last Post: 17th October 2011, 10:53
  5. Replies: 6
    Last Post: 29th September 2011, 16:10

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.