Results 1 to 8 of 8

Thread: build qwt

  1. #1
    Join Date
    Apr 2016
    Posts
    16
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default build qwt

    Hi everyone,
    My environment
    - mingwx64 gcc 4.8.1 expt sljlj rev2
    - Qt 5.6 compiled with my mingw
    - qwt-6.1.3 sources
    - virtual machine windows 7 x64

    this is my first post. I've been trying to build qwt and during the mingw32-make command I couldn't pass through qsvgrenderer.h. I read hips of topics and stuff but no one lead me to the succeed. I know compatibility problem with qwt 6.1.3 and Qt5.6 but that sucks doing some workaround for using any kind of framework.

    cmd.exe
    -------------------------------------------------------
    C:\qwt-6.1.3>mingw32-make
    cd src\ && ( if not exist Makefile D:\QT\qt-everywhere-opensource-src-5.6.0\qtbase\bin\qmake.exe C:\qwt-6.1.3\
    \src.pro -spec win32-g++ -o Makefile ) && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory 'C:/qwt-6.1.3/src'
    mingw32-make -f Makefile.Debug all
    mingw32-make[2]: Entering directory 'C:/qwt-6.1.3/src'
    compiling qwt_symbol.cpp
    qwt_symbol.cpp:20:26: fatal error: qsvgrenderer.h: No such file or directory
    #include <qsvgrenderer.h>
    ^
    compilation terminated.
    Makefile.Debug:11229: recipe for target 'debug/qwt_symbol.o' failed
    mingw32-make[2]: *** [debug/qwt_symbol.o] Error 1
    mingw32-make[2]: Leaving directory 'C:/qwt-6.1.3/src'
    Makefile:38: recipe for target 'debug-all' failed
    mingw32-make[1]: *** [debug-all] Error 2
    mingw32-make[1]: Leaving directory 'C:/qwt-6.1.3/src'
    Makefile:41: recipe for target 'sub-src-make_first-ordered' failed
    mingw32-make: *** [sub-src-make_first-ordered] Error 2
    -------------------------------------------------------

    thx

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: build qwt

    Does the missing file exist anywhere in your Qt source?

  3. #3
    Join Date
    Apr 2016
    Posts
    16
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: build qwt

    I looked everywhere in Qwt then Qt and doesn't exist.
    qsvgrenderer.h is include in 3 qwt sources code :
    -qwr_plot_svgitem.cpp
    -qwt_symbol.cpp
    -and I guess an example playground\graphicscale\canvas.cpp
    I want to write a line in qwt makefile to ignore qsvgrenderer.h

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

    Default Re: build qwt

    Disable "QwtSvg" in qwtconfig.pri or rebuild Qt including SVG support.

    Uwe

  5. #5
    Join Date
    Apr 2016
    Posts
    16
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: build qwt

    Thanks a lot Uwe and ChrisW67. I'm compiling and it works so far.


    Added after 27 minutes:


    Got another one. How could I keep compiling with mingw32-make and ignore those messing files ?
    __________________________________________________ ___________
    qwt_designer_plugin.cpp:17:40: fatal error: QDesignerFormEditorInterface: No such file or directory
    #include <QDesignerFormEditorInterface>
    ^
    compilation terminated.
    Makefile:26350: recipe for target 'qwt_designer_plugin.o' failed
    mingw32-make[1]: *** [qwt_designer_plugin.o] Error 1
    mingw32-make[1]: Leaving directory 'C:/qwt-6.1.3/designer'
    Makefile:170: recipe for target 'sub-designer-make_first-ordered' failed
    mingw32-make: *** [sub-designer-make_first-ordered] Error 2
    __________________________________________________ ___________

    I looked for everywhere in .pri then no QDesignerFormEditorInterface to disable. Is it possible to keep compiling at where it stop ?
    Last edited by Lokl; 16th June 2016 at 13:07.

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

    Default Re: build qwt

    Disable "QwtDesigner" in qwtconfig.pri or rebuild Qt including designer support.

    Come on,
    Uwe

  7. #7
    Join Date
    Apr 2016
    Posts
    16
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: build qwt

    thanks Uwe. I compiled somethings but a least with no so much lib

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

    Default Re: build qwt

    If you want to use the Qwt designer plugin you do it usually from the creator. And then you often need to have a second version of Qwt installed - one that is built with the Qt version, the creator itself had been built with.

    Uwe

Similar Threads

  1. Replies: 3
    Last Post: 19th September 2014, 02:44
  2. Replies: 0
    Last Post: 13th December 2013, 19:39
  3. Replies: 2
    Last Post: 3rd October 2011, 23:04
  4. Failed to build Qt 4.7.1 in a shadow build with feature tuning
    By myfifth in forum Installation and Deployment
    Replies: 0
    Last Post: 17th February 2011, 03:25
  5. Replies: 1
    Last Post: 13th January 2010, 23:35

Tags for this Thread

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.