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
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
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.![]()
AlphaWolfXV (14th April 2009)
Thanks to all for your suggestions. It is now working... Thanks again!
![]()
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.
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?
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
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.
Bookmarks