Results 1 to 6 of 6

Thread: newbie

  1. #1
    Join Date
    Oct 2009
    Posts
    90
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default newbie

    Hello

    The qwt compiled with 34 warnings.
    but still I can't run examples.
    it tells:
    unable to start gdb 'C:\Qt\2009.05\mingw\bin\gdb.exe' : Process failed to start : The directory name is invalid.

    regards
    navid

  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: newbie

    Don't know what you are trying to do, but the gdb is a debugger.

    Uwe

  3. #3
    Join Date
    Oct 2009
    Posts
    90
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: newbie

    kindly,

    how can I run examples of qwt?

    the complete source code, was downloaded and compiled/built (but with warnings).

    this is the compile output:

    Running build steps for project qwt...
    Starting: c:/qt/2009.05/qt/bin/qmake.exe G:/qt/qwt-5.2/qwt.pro -spec win32-g++ -r
    Reading G:/qt/qwt-5.2/src/src.pro
    Reading G:/qt/qwt-5.2/textengines/textengines.pro
    Reading G:/qt/qwt-5.2/designer/designer.pro
    Exited with code 0.
    Starting: C:/Qt/2009.05/mingw/bin/mingw32-make.exe -w
    mingw32-make: Entering directory `G:/qt/qwt-5.2'
    cd src\ && C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `G:/qt/qwt-5.2/src'
    C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile.Debug
    mingw32-make[2]: Entering directory `G:/qt/qwt-5.2/src'
    compiling qwt_abstract_scale_draw.cpp
    compiling qwt_color_map.cpp
    compiling qwt_clipper.cpp
    compiling qwt_double_interval.cpp
    compiling qwt_double_rect.cpp
    compiling qwt_dyngrid_layout.cpp
    compiling qwt_layout_metrics.cpp
    compiling qwt_math.cpp
    compiling qwt_magnifier.cpp
    compiling qwt_paint_buffer.cpp
    compiling qwt_panner.cpp
    In file included from qwt_picker.h:20,
    from qwt_panner.cpp:20:
    qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    compiling qwt_painter.cpp
    qwt_painter.cpp:496:2: warning: #warning clipping ignores painter transformations
    compiling qwt_picker.cpp
    In file included from qwt_picker.h:20,
    from qwt_picker.cpp:19:
    qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    compiling qwt_round_scale_draw.cpp
    compiling qwt_scale_div.cpp
    compiling qwt_scale_draw.cpp
    compiling qwt_scale_map.cpp
    compiling qwt_spline.cpp
    compiling qwt_text_engine.cpp
    compiling qwt_text_label.cpp
    compiling qwt_text.cpp
    qwt_text.cpp:549:2: warning: #warning Too small text size, when printing in high resolution
    compiling qwt_event_pattern.cpp
    In file included from qwt_event_pattern.cpp:11:
    qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    compiling qwt_picker_machine.cpp
    In file included from qwt_picker_machine.cpp:11:
    qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    compiling qwt_scale_engine.cpp
    compiling qwt_symbol.cpp
    compiling qwt_curve_fitter.cpp
    compiling qwt_data.cpp
    compiling qwt_interval_data.cpp
    compiling qwt_legend.cpp
    compiling qwt_legend_item.cpp
    compiling qwt_plot.cpp
    compiling qwt_plot_print.cpp
    compiling qwt_plot_xml.cpp
    compiling qwt_plot_axis.cpp
    compiling qwt_plot_curve.cpp
    compiling qwt_plot_dict.cpp
    qwt_plot_dict.cpp:35:2: warning: #warning binary search missing
    compiling qwt_plot_grid.cpp
    compiling qwt_plot_item.cpp
    compiling qwt_plot_spectrogram.cpp
    qwt_plot_spectrogram.cpp:505:2: warning: #warning Better invert the for loops above
    compiling qwt_plot_scaleitem.cpp
    compiling qwt_plot_marker.cpp
    compiling qwt_plot_layout.cpp
    qwt_plot_layout.cpp:1109:2: warning: #warning Layout code needs to be reorganized
    compiling qwt_plot_printfilter.cpp
    compiling qwt_plot_rasteritem.cpp
    compiling qwt_plot_canvas.cpp
    compiling qwt_plot_rescaler.cpp
    compiling qwt_plot_panner.cpp
    compiling qwt_plot_picker.cpp
    In file included from qwt_picker.h:20,
    from qwt_plot_picker.h:17,
    from qwt_plot_picker.cpp:17:
    qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    compiling qwt_plot_zoomer.cpp
    In file included from qwt_picker.h:20,
    from qwt_plot_picker.h:17,
    from qwt_plot_zoomer.h:23,
    from qwt_plot_zoomer.cpp:15:
    qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    compiling qwt_plot_magnifier.cpp
    compiling qwt_raster_data.cpp
    compiling qwt_scale_widget.cpp
    compiling qwt_abstract_slider.cpp
    compiling qwt_abstract_scale.cpp
    compiling qwt_arrow_button.cpp
    compiling qwt_analog_clock.cpp
    compiling qwt_compass.cpp
    compiling qwt_compass_rose.cpp
    compiling qwt_counter.cpp
    compiling qwt_dial.cpp
    compiling qwt_dial_needle.cpp
    compiling qwt_double_range.cpp
    compiling qwt_knob.cpp
    compiling qwt_slider.cpp
    compiling qwt_thermo.cpp
    compiling qwt_wheel.cpp
    moc qwt_dyngrid_layout.h
    compiling moc/moc_qwt_dyngrid_layout.cpp
    moc qwt_magnifier.h
    compiling moc/moc_qwt_magnifier.cpp
    moc qwt_panner.h
    compiling moc/moc_qwt_panner.cpp
    moc qwt_picker.h
    compiling moc/moc_qwt_picker.cpp
    In file included from moc\/../qwt_picker.h:20,
    from moc\moc_qwt_picker.cpp:10:
    moc\/../qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    moc\/../qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    moc qwt_text_label.h
    compiling moc/moc_qwt_text_label.cpp
    moc qwt_legend.h
    compiling moc/moc_qwt_legend.cpp
    moc qwt_legend_item.h
    compiling moc/moc_qwt_legend_item.cpp
    moc qwt_plot.h
    compiling moc/moc_qwt_plot.cpp
    moc qwt_plot_canvas.h
    compiling moc/moc_qwt_plot_canvas.cpp
    moc qwt_plot_panner.h
    compiling moc/moc_qwt_plot_panner.cpp
    moc qwt_plot_picker.h
    compiling moc/moc_qwt_plot_picker.cpp
    In file included from moc\/../qwt_picker.h:20,
    from moc\/../qwt_plot_picker.h:17,
    from moc\moc_qwt_plot_picker.cpp:10:
    moc\/../qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    moc\/../qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    moc qwt_plot_zoomer.h
    compiling moc/moc_qwt_plot_zoomer.cpp
    In file included from moc\/../qwt_picker.h:20,
    from moc\/../qwt_plot_picker.h:17,
    from moc\/../qwt_plot_zoomer.h:23,
    from moc\moc_qwt_plot_zoomer.cpp:10:
    moc\/../qwt_event_pattern.h:216: warning: type attributes ignored after type is already defined
    moc\/../qwt_event_pattern.h:217: warning: type attributes ignored after type is already defined
    moc qwt_plot_magnifier.h
    compiling moc/moc_qwt_plot_magnifier.cpp
    moc qwt_scale_widget.h
    compiling moc/moc_qwt_scale_widget.cpp
    moc qwt_abstract_slider.h
    compiling moc/moc_qwt_abstract_slider.cpp
    moc qwt_analog_clock.h
    compiling moc/moc_qwt_analog_clock.cpp
    moc qwt_compass.h
    compiling moc/moc_qwt_compass.cpp
    moc qwt_counter.h
    compiling moc/moc_qwt_counter.cpp
    moc qwt_dial.h
    compiling moc/moc_qwt_dial.cpp
    moc qwt_knob.h
    compiling moc/moc_qwt_knob.cpp
    moc qwt_slider.h
    compiling moc/moc_qwt_slider.cpp
    moc qwt_thermo.h
    compiling moc/moc_qwt_thermo.cpp
    moc qwt_wheel.h
    compiling moc/moc_qwt_wheel.cpp
    windres -i qwtd_resource.rc -o objd\qwtd_resource_res.o --include-dir=.
    linking ..\lib\qwtd5.dll
    Creating library file: ..\lib\libqwtd5.a
    mingw32-make[2]: Leaving directory `G:/qt/qwt-5.2/src'
    mingw32-make[1]: Leaving directory `G:/qt/qwt-5.2/src'
    cd textengines\ && C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `G:/qt/qwt-5.2/textengines'
    mingw32-make[1]: Nothing to be done for `first'.
    mingw32-make[1]: Leaving directory `G:/qt/qwt-5.2/textengines'
    cd designer\ && C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `G:/qt/qwt-5.2/designer'
    C:/Qt/2009.05/mingw/bin/mingw32-make -f Makefile.Debug
    mingw32-make[2]: Entering directory `G:/qt/qwt-5.2/designer'
    compiling qwt_designer_plugin.cpp
    qwt_designer_plugin.cpp:347:2: warning: #warning QwtTextLabel icon is missing
    In file included from ..\src/qwt_scale_div.h:15,
    from ..\src/qwt_abstract_scale_draw.h:14,
    from ..\src/qwt_scale_draw.h:15,
    from ..\src/qwt_scale_widget.h:20,
    from qwt_designer_plugin.cpp:28:
    ..\src/qwt_double_interval.h:264: warning: 'bool QwtDoubleInterval::isValid() const' redeclared without dllimport attribute after being referenced with dll linkage
    compiling qwt_designer_plotdialog.cpp
    moc qwt_designer_plugin.h
    compiling moc/moc_qwt_designer_plugin.cpp
    moc qwt_designer_plotdialog.h
    compiling moc/moc_qwt_designer_plotdialog.cpp
    rcc qwt_designer_plugin.qrc
    compiling resources/qrc_qwt_designer_plugin.cpp
    windres -i qwt_designer_plugind_resource.rc -o objd\qwt_designer_plugind_resource_res.o --include-dir=.
    linking plugins\designer\qwt_designer_plugind5.dll
    Creating library file: plugins\designer\libqwt_designer_plugind5.a
    mingw32-make[2]: Leaving directory `G:/qt/qwt-5.2/designer'
    mingw32-make[1]: Leaving directory `G:/qt/qwt-5.2/designer'
    mingw32-make: Leaving directory `G:/qt/qwt-5.2'
    Exited with code 0.
    but still can not run example.
    this is an application output:
    Starting G:\qt\qwt-5.2\examples\bin\bode.exe...
    The process could not be started!
    where is the problem?

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: newbie

    dlls in system path?

  5. #5
    Join Date
    Oct 2009
    Posts
    90
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: newbie

    thanks,
    except svgmap, others work.

    many thanks to Uwe and Merry Christmas for all

  6. #6
    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: newbie

    Quote Originally Posted by navid View Post
    except svgmap ...
    The SVG code is disabled by default, because it requires the Qt SVG module for a class, that is not used much. It can be enabled in qwtconfig.pri.

    Uwe

Similar Threads

  1. Newbie Mac OS X problems
    By Vnuce in forum Newbie
    Replies: 9
    Last Post: 22nd October 2009, 15:48
  2. Help newbie with QTableView...
    By pnunn in forum Newbie
    Replies: 8
    Last Post: 25th February 2009, 13:17
  3. Newbie - experiences with Qt
    By masoroso in forum General Discussion
    Replies: 1
    Last Post: 3rd May 2006, 15:44
  4. QT/Win 4.1.1 with VisualStudio2005 Newbie
    By skaiser in forum Installation and Deployment
    Replies: 9
    Last Post: 24th March 2006, 03:26

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.