Results 1 to 2 of 2

Thread: Error on build for qwt 6.1.6

  1. #1
    Join Date
    Apr 2025
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Error on build for qwt 6.1.6

    Hello,
    I have been attempting install of QWT with version 6.1.6

    Issued qmake with no error on directory.
    On make I get this in the display at beginning of build;

    $ make
    cd src/ && ( test -e Makefile || /usr/local/Qt/6.0.1/gcc_64/bin/qmake -o Makefile /home/david/Downloads/qwt-6.1.6/src/src.pro ) && make -f Makefile
    make[1]: Entering directory '/home/david/Downloads/qwt-6.1.6/src'
    compiling qwt_clipper.cpp
    qwt_clipper.cpp: In member function ‘QVector<QwtInterval> QwtCircleClipper::clipCircle(const QPointF&, double) const’:
    qwt_clipper.cpp:354:9: error: ‘qSort’ was not declared in this scope; did you mean ‘qSqrt’?
    354 | qSort( angles );
    | ^~~~~
    | qSqrt
    make[1]: *** [Makefile:4637: obj/qwt_clipper.o] Error 1
    make[1]: Leaving directory '/home/david/Downloads/qwt-6.1.6/src'
    make: *** [Makefile:50: sub-src-make_first-ordered] Error 2

    I have searched forums for same error and have come up with nothing.
    I followed the installation instructions like so;

    /usr/local/Qt/6.0.1/gcc_64/bin/qmake qwt.pro

    then

    make


    Any pointers or suggestions would be welcome.
    .

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

    Default Re: Error on build for qwt 6.1.6

    Qwt 6.1 does not support Qt6 ( f.e qSort has been dropped in favor of std::sort ) - you need at least Qwt 6.2.
    Concerning Qt: I would consider everything below Qt 6.2 being beta versions that IMHO should have not been published as releases. I strongly recommend to use a higher version - if possible.

    HTH,
    Uwe

Similar Threads

  1. Replies: 5
    Last Post: 30th January 2020, 17:01
  2. Qt Static Build - Build error g++
    By dan3460 in forum Qt Programming
    Replies: 1
    Last Post: 6th September 2017, 09:19
  3. nmake Error when build qwt
    By Jörg Kunath in forum Qwt
    Replies: 2
    Last Post: 20th February 2013, 09:32
  4. Replies: 0
    Last Post: 29th February 2012, 09:48
  5. Qwt build error with Qt 4.6.0-tp1
    By alex-krutikov in forum Qwt
    Replies: 6
    Last Post: 20th December 2009, 09:43

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.