Results 1 to 9 of 9

Thread: Qwt Data_Plot Example Runtime Error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qwt Data_Plot Example Runtime Error

    i have the same problem. i port a linux app to windows. my project compiles . but when i start the app i get an runtime error. i have no idea , how to solve this problem. does anybody solve his problem?

  2. #2
    Join Date
    Jan 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Qwt Data_Plot Example Runtime Error

    Hi,

    I'm a newbie in the Qt - world and I'm starting to use the Qt environment and Qwt. I'm also experimenting that problem.

    I'm writting a simple example based on realtime_plot and I get the same runtime error (either in debug or release version) when I execute it. The offending code is this:

    MainWindow::MainWindow() : QMainWindow(){

    addToolBar(toolBar());

    d_plot = new RandomPlot(this); //<--- The error is raised here. d_plot is an object of class RandomPlot.
    d_plot->setMargin(4);
    setCentralWidget(d_plot);


    initWhatsThis();
    setAttribute(Qt::WA_DeleteOnClose);
    }



    I did some research and just found that the problem may be in the classes inheriting from QFrame but I cannot figure out what the problem is. I'm running Qt-Creator 4.6.0 and Qwt 5.2.0.

    Regards,


    Juan

  3. #3
    Join Date
    Jan 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Qwt Data_Plot Example Runtime Error

    It's me again!

    I think I found a solution to the problem.... I followed these steps (which were already posted in another thread) http://www.qtcentre.org/threads/2617...178#post127178.

    Now my first QWT application is up and running.

    I hope it can help.


    Regards,


    Juan.

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  5. 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

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
  •  
Qt is a trademark of The Qt Company.