[Solved]Error while building Qwt-6.0.2



  • Hi All
    I have Installed Qt-5.0.1 on my windows 7 PC. While building qwt-6.0.1 using MSVC ++ 2010 I am getting error .\qwt_painter.cpp(408) : error C3861: 'qMemCopy': identifier not found and some other.
    Below i am giving complete output of the commandprompt. Can any one please help me.


    commandprompt output:

    qwt_magnifier.cpp
    qwt_panner.cpp
    qwt_null_paintdevice.cpp
    qwt_painter.cpp
    .\qwt_painter.cpp(234) :* error C2039: 'intersect' : is not a member of 'QRectF'*
    ....\Qt5.0.1\5.0.1\msvc2010\include\QtCore/qrect.h(457) : see declarati
    on of 'QRectF'
    .\qwt_painter.cpp(408) :* error C3861: 'qMemCopy': identifier not found*
    qwt_picker.cpp
    qwt_round_scale_draw.cpp
    qwt_scale_div.cpp
    qwt_scale_draw.cpp
    qwt_scale_map.cpp
    qwt_spline.cpp
    qwt_text_engine.cpp
    qwt_text_label.cpp
    Generating Code...
    Compiling...
    qwt_text.cpp
    qwt_event_pattern.cpp
    qwt_picker_machine.cpp
    qwt_point_3d.cpp
    qwt_point_polar.cpp
    qwt_scale_engine.cpp
    qwt_symbol.cpp
    qwt_system_clock.cpp
    qwt_curve_fitter.cpp
    qwt_legend.cpp
    qwt_legend_item.cpp
    qwt_plot.cpp
    .\qwt_plot.cpp(381) : error C2039: 'subtract' : is not a member of 'QRegion'
    ....\Qt5.0.1\5.0.1\msvc2010\include\QtGui/qregion.h(66) : see declarati
    on of 'QRegion'
    .\qwt_plot.cpp(383) : error C2039: 'subtract' : is not a member of 'QRegion'
    ....\Qt5.0.1\5.0.1\msvc2010\include\QtGui/qregion.h(66) : see declarati
    on of 'QRegion'
    qwt_plot_renderer.cpp
    .\qwt_plot_renderer.cpp(26) : fatal error C1083: Cannot open include file: 'qpri
    nter.h': No such file or directory
    qwt_plot_xml.cpp
    qwt_plot_axis.cpp
    qwt_plot_curve.cpp
    qwt_plot_dict.cpp
    qwt_plot_directpainter.cpp
    .\qwt_plot_directpainter.cpp(197) : error C2039: 'WA_PaintOutsidePaintEvent' : i
    s not a member of 'Qt'

    .\qwt_plot_directpainter.cpp(197) : error C2065: 'WA_PaintOutsidePaintEvent' : u
    ndeclared identifier

    qwt_plot_grid.cpp
    qwt_plot_histogram.cpp
    Generating Code...
    Compiling...
    qwt_plot_item.cpp
    qwt_plot_intervalcurve.cpp
    .\qwt_plot_intervalcurve.cpp(414) : error C3861: 'qMemCopy': identifier not foun
    d
    .\qwt_plot_intervalcurve.cpp(419) : error C3861: 'qMemCopy': identifier not foun
    d
    qwt_plot_spectrogram.cpp
    .\qwt_plot_spectrogram.cpp(23) : fatal error C1083: Cannot open include file: 'q
    tconcurrentrun.h': No such file or directory

    qwt_plot_spectrocurve.cpp
    qwt_plot_scaleitem.cpp
    qwt_plot_seriesitem.cpp
    qwt_plot_marker.cpp
    qwt_plot_layout.cpp
    .\qwt_plot_layout.cpp(1089) : error C2039: 'subtract' : is not a member of 'QReg
    ion'
    ....\Qt5.0.1\5.0.1\msvc2010\include\QtGui/qregion.h(66) : see declarati
    on of 'QRegion'
    .\qwt_plot_layout.cpp(1089) : error C2228: left of '.boundingRect' must have cla
    ss/struct/union

    qwt_plot_canvas.cpp
    qwt_plot_panner.cpp
    qwt_plot_rasteritem.cpp
    qwt_plot_picker.cpp
    qwt_plot_zoomer.cpp
    qwt_plot_magnifier.cpp
    qwt_plot_rescaler.cpp
    qwt_raster_data.cpp
    qwt_matrix_raster_data.cpp
    qwt_sampling_thread.cpp
    qwt_series_data.cpp
    .\qwt_series_data.cpp(326) : error C3861: 'qMemCopy': identifier not found
    .\qwt_series_data.cpp(329) : error C3861: 'qMemCopy': identifier not found
    qwt_scale_widget.cpp
    Generating Code...
    Compiling...
    qwt_plot_svgitem.cpp
    qwt_abstract_slider.cpp
    qwt_abstract_scale.cpp
    qwt_arrow_button.cpp
    qwt_analog_clock.cpp
    qwt_compass.cpp
    qwt_compass_rose.cpp
    qwt_counter.cpp
    qwt_dial.cpp
    qwt_dial_needle.cpp
    qwt_double_range.cpp
    qwt_knob.cpp
    qwt_slider.cpp
    qwt_thermo.cpp
    qwt_wheel.cpp
    Generating Code...
    NMAKE : fatal error U1077: 'echo' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
    N\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    c:\Qt\qwt-6.0.2>


    Thanks and Regards
    Mahendra Kumar


  • Moderators

    welcome to devnet

    Did you check already on "this":http://www.qtcentre.org/forums/23-Qwt forum?
    I just realized that there is considerably more discussion on qwt than you find here.



  • For Qt 5 you need Qwt >= 6.1.

    Uwe



  • Many many thaks koahing and uwer.

    Regards
    Mahendra


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.