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
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qwt Data_Plot Example Runtime Error

    I have the same runtime errors.
    Before, under XP, no problems.
    But porting the same application under Vista fires this error.
    I don't know if it's a problem of Qwt or Qt 4.5.
    Waiting for help

  2. #2
    Join Date
    May 2008
    Posts
    276
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qwt Data_Plot Example Runtime Error

    I solved, or at least I reached a working solution.
    My experience is as follows:

    (First delete CONFIG += debug_and_release from your src.pro


    Qt 4.5 + Qwt-5.2 ---> Doesn't work (Runtime errors)
    Qt 4.5 + Qwt-5.1 ---> Works
    Qt 4 + Qwt 5.1 ----> Works


    I cannot figure out what does cause that configuration variable at all.

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

    AlphaWolfXV (14th April 2009)

  4. #3
    Join Date
    Aug 2008
    Posts
    38
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qwt Data_Plot Example Runtime Error

    Thanks to all for your suggestions. It is now working... Thanks again!

  5. #4
    Join Date
    Aug 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qwt Data_Plot Example Runtime Error

    I'm using Qt 4.5.2 with Qwt 5.2.0 on Windows XP and it works with release builds (same error with debug release), so it seems to be caused not by issues with the versions, but by some settings.

  6. #5
    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?

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

  8. #7
    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.