开发者

Can't create QwtPlot without getting 1073741515 at run time

I'm working on a project in Qt 4.7.4 using the 开发者_高级运维msvc2008 compiler, and I'm trying to use Qwt to plot some graphs in my project.

I tried to add a very simple graph, and when that didn't work, I stripped out all of the code until I got to the first error, which was the very first line:

QwtPlot *leftGraph;
leftGraph  = new QwtPlot(tr("A Graph"), 0);

The code builds fine, but when I try to run it, I get the error: "exited with code -1073741515"

I've tried running the code in both debug and release mode, to no change.

Any ideas? Many thanks.


Exit code -1073741515 is 0xC0000135 in hex, which basically means "some dll not found". If your run the app normally (ie not under the debugger), you should get a dialog box saying which dll was not found, I suggest you try that first. Anyway the typical cause in your case would be that the Qt dlls are not found when you run your exe. Simplest solution is to check your PATH environment variable, make sure the Qt bin directory is in it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜