Results 1 to 9 of 9

Thread: Qwt installation in Qt 5.5.0

  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    28
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Qwt installation in Qt 5.5.0

    Hi,
    i am using Qt5.5.0 and try to install Qwt 5.0.2

    qmake
    mingw32-make
    i got this error

    cd src\ && ( if not exist Makefile C:\Qt\Qt5.5.0\5.5\mingw492_32\bin\qmake.exe
    :\Users\naveeniya\Desktop\qwt-5.0.2\qwt-5.0.2\src\src.pro -o Makefile ) && ming
    32-make -f Makefile
    mingw32-make[1]: Entering directory 'C:/Users/naveeniya/Desktop/qwt-5.0.2/qwt-5
    0.2/src'
    mingw32-make -f Makefile.Release
    mingw32-make[2]: Entering directory 'C:/Users/naveeniya/Desktop/qwt-5.0.2/qwt-5
    0.2/src'
    g++ -c -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -frtti -fexceptions -
    threads -DUNICODE -DQT_DLL -DQWT_DLL -DQWT_MAKEDLL -DQT_NO_DEBUG -DQT_GUI_LIB -
    QT_CORE_LIB -I. -IC:\Qt\Qt5.5.0\5.5\mingw492_32\include -IC:\Qt\Qt5.5.0\5.5\min
    w492_32\include\QtGui -IC:\Qt\Qt5.5.0\5.5\mingw492_32\include\QtANGLE -IC:\Qt\Q
    5.5.0\5.5\mingw492_32\include\QtCore -Imoc -IC:\Qt\Qt5.5.0\5.5\mingw492_32\mksp
    cs\win32-g++ -o obj\qwt_abstract_scale_draw.o qwt_abstract_scale_draw.cpp
    In file included from qwt_abstract_scale_draw.cpp:18:0:
    qwt_scale_map.h:86:5: error: 'QT_STATIC_CONST' does not name a type
    QT_STATIC_CONST double LogMin;
    ^
    qwt_scale_map.h:87:5: error: 'QT_STATIC_CONST' does not name a type
    QT_STATIC_CONST double LogMax;
    ^
    Makefile.Release:1928: recipe for target 'obj/qwt_abstract_scale_draw.o' failed
    mingw32-make[2]: *** [obj/qwt_abstract_scale_draw.o] Error 1
    mingw32-make[2]: Leaving directory 'C:/Users/naveeniya/Desktop/qwt-5.0.2/qwt-5.
    .2/src'
    Makefile:34: recipe for target 'release' failed
    mingw32-make[1]: *** [release] Error 2
    mingw32-make[1]: Leaving directory 'C:/Users/naveeniya/Desktop/qwt-5.0.2/qwt-5.
    .2/src'
    makefile:40: recipe for target 'sub-src-make_first' failed
    mingw32-make: *** [sub-src-make_first] Error 2

    kindly provide me help to solve this......

  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: Qwt installation in Qt 5.5.0

    Quote Originally Posted by Navi View Post
    i am using Qt5.5.0 and try to install Qwt 5.0.2
    Qwt 5.x doesn't work with Qt 5, you need at least Qwt 6.x.

    Qwt 5.0.2 has been released 2007 - is this really the version you want to use ?

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    Navi (31st July 2015)

  4. #3
    Join Date
    Jun 2015
    Location
    India
    Posts
    28
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: Qwt installation in Qt 5.5.0

    when i try to install Qwt 6.0.1
    qmake
    mingw32-make
    i got this error...


    cd src\ && ( if not exist Makefile C:\Qt\Qt5.5.0\5.5\mingw492_32\bin\qmake.exe C
    :\Users\naveeniya\Desktop\qwt-6.0.1\src\src.pro -o Makefile ) && mingw32-make -f
    Makefile
    mingw32-make[1]: Entering directory 'C:/Users/naveeniya/Desktop/qwt-6.0.1/src'
    mingw32-make -f Makefile.Release all
    mingw32-make[2]: Entering directory 'C:/Users/naveeniya/Desktop/qwt-6.0.1/src'
    compiling qwt_abstract_scale_draw.cpp
    In file included from qwt_abstract_scale_draw.cpp:14:0:
    qwt_scale_map.h:104:5: error: 'QT_STATIC_CONST' does not name a type
    QT_STATIC_CONST double LogMin;
    ^
    qwt_scale_map.h:105:5: error: 'QT_STATIC_CONST' does not name a type
    QT_STATIC_CONST double LogMax;
    ^
    Makefile.Release:3072: recipe for target 'release/qwt_abstract_scale_draw.o' fai
    led
    mingw32-make[2]: *** [release/qwt_abstract_scale_draw.o] Error 1
    mingw32-make[2]: Leaving directory 'C:/Users/naveeniya/Desktop/qwt-6.0.1/src'
    Makefile:38: recipe for target 'release-all' failed
    mingw32-make[1]: *** [release-all] Error 2
    mingw32-make[1]: Leaving directory 'C:/Users/naveeniya/Desktop/qwt-6.0.1/src'
    makefile:40: recipe for target 'sub-src-make_first-ordered' failed
    mingw32-make: *** [sub-src-make_first-ordered] Error 2

  5. #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: Qwt installation in Qt 5.5.0

    QT_STATIC_CONST has been removed in Qt 5.4 - but why starting with old versions of Qwt ( 6.0.1 is fro 2011 ), when trying to build with a brand new Qt 5.5 ?
    Use Qwt 6.1.2 and it will work without problems.

    Uwe

  6. #5
    Join Date
    Jun 2015
    Location
    India
    Posts
    28
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: Qwt installation in Qt 5.5.0

    i installed Qwt 6.1.2 sucessfully.
    and set the environment variable as

    Variable name ->QT_PLUGIN_PATH
    Variable value ->C:\Qt\Qwt-6.1.2\plugins
    Variable name -> QMAKEFEATURES
    Variable value ->C:\Qt\Qwt-6.1.2\features


    when i open Qt designer ,Qwt plugin is added...
    But when i open Qt creator, Qwt plugin is not included in design ..how do i fix this?

  7. #6
    Join Date
    Aug 2015
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Qwt installation in Qt 5.5.0

    I only have experience on windows platform.
    For me it's a simple copy of the plugin to my plugin dir.

    e.g.
    My designer.exe is installed in f:\qt\5.5.\mingw492_32\bin.
    My plugin dir is f:\qt\5.5.\mingw492_32\plugins.
    My qwt installation dir is f:\qt\qwt-6.3.0-svn

    So I copy f:\qt\qwt-6.3.0-svn\plugins\designer\qwt_designer_plugin.dll to f:\qt\5.5.\mingw492_32\plugins\designer

    When designer starts, you can see the plugin status in menu Help->About Plugins.

    Hope this helps

  8. #7
    Join Date
    Aug 2015
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qwt installation in Qt 5.5.0

    Hi,
    I have the same problem, i can see the Qwt Widget in QT Designer but not in QtCreator.
    I use QT5.4, QWT6.1.2 and mingn

    Do you have the solution?

  9. #8
    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: Qwt installation in Qt 5.5.0

    Your version of the creator is not compatible and you have to build Qwt twice: one version for your application development and the other one compatible with the creator to be able to load the plugin.
    Always have in mind, that the creator is a Qt application itself and is compiled/linked against specific Qt libs. Then loading a plugin that has been built against different versions of those Qt libs can't work.

    Uwe

  10. #9
    Join Date
    Sep 2015
    Posts
    6
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qwt installation in Qt 5.5.0

    Hi all,

    When i tried to installed qwt I got this errors. How do I solve it?

    Thank you very much.

    Configuration: Win8(64), MSVS 2012, QT5.5.0(64)
    Trouble: a some problems with linking.

    <code>
    Generating Code...
    Compiling...
    moc_qwt_analog_clock.cpp
    moc_qwt_compass.cpp
    moc_qwt_counter.cpp
    moc_qwt_dial.cpp
    moc_qwt_knob.cpp
    moc_qwt_slider.cpp
    moc_qwt_thermo.cpp
    moc_qwt_wheel.cpp
    Generating Code...
    linking ..\lib\qwt.dll
    Qt5OpenGL.lib(Qt5OpenGL.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
    NMAKE : fatal error U1077: 'echo' : return code '0x458'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    </code>

Similar Threads

  1. Qwt installation
    By bybby in forum Installation and Deployment
    Replies: 0
    Last Post: 16th January 2012, 15:37
  2. Qwt Installation Help
    By darkblackcorner in forum Qwt
    Replies: 24
    Last Post: 15th May 2011, 22:06
  3. Need Installation Help?
    By Chase in forum Newbie
    Replies: 0
    Last Post: 7th April 2011, 11:26
  4. Replies: 0
    Last Post: 15th March 2011, 19:27
  5. Qt for s60 installation
    By addu in forum Installation and Deployment
    Replies: 2
    Last Post: 26th August 2009, 12:37

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.