Results 1 to 4 of 4

Thread: QWT application initialization error

  1. #1

    Question QWT application initialization error

    Here is what grinds my gears: I am using QT v4.3.3 with Dev C++ (4.9.9.2 beta) on Win XP SP2, and recently have installed qwt. I am trying to run the examples. The compilation process goes just fine - no errors, but ultimately, when running the application what I get is an initialization error (#0xc0000005) - the application was not properly initialized. What that could mean? What am I doing wrong?
    TIA,
    Best
    Urban

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

    Default Re: QWT application initialization error

    Did you add QWT_DLL to you compile flags ?

    Uwe

  3. #3
    Join Date
    Aug 2008
    Location
    Hessen/Germany
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT application initialization error

    Hello,

    i have the same problem on Win Vista with QT 4.4.1, MinGW 3.4.2 and QWT 5.1.1. I'm also using eclipse 3.4.

    Did you add QWT_DLL to you compile flags ?

    Uwe
    Could you explain that in more detail please?

    Thanks

  4. #4
    Join Date
    Aug 2008
    Location
    Hessen/Germany
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT application initialization error

    Hello again,

    i just realized that my problem is a little bit different.

    The examples are working fine.
    But the following program produces the initialization error 0xc0000005 ..

    Maybe someone could help me


    plotwidget.cpp
    Qt Code:
    1. #include "Plot.h"
    2. #include "plotwidget.h"
    3.  
    4. PlotWidget::PlotWidget(QWidget *parent)
    5. : QWidget(parent)
    6. {
    7. plot = new MyPlot(this);
    8.  
    9. ui.setupUi(this);
    10. }
    11.  
    12. PlotWidget::~PlotWidget()
    13. {
    14.  
    15. }
    To copy to clipboard, switch view to plain text mode 

    and the plot.cpp
    Qt Code:
    1. #include "Plot.h"
    2.  
    3. MyPlot::MyPlot(QWidget *parent):
    4. QwtPlot(parent)
    5. {
    6.  
    7. }
    8.  
    9. MyPlot::~MyPlot()
    10. {
    11.  
    12. }
    To copy to clipboard, switch view to plain text mode 
    Everything works until i try to run the program

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 14:22
  2. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  3. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  4. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19
  5. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52

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.