QWT in kombination mit dem Qt Creator
-
ScyllaIllciz
- Beiträge: 200
- Registriert: 9. Juli 2010 19:31
also hab gerade ein minimal beispiel eines QwtPlotes erstellt, und das kompilieren funktioniert auch aber beim ausführen kommt wieder folgendes:
Test.exe beendet, Rückgabewert -1073741515
Hier der Code:
#include <QtGui/QApplication>
#include "mainwindow.h"
#include <qwt_plot.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QwtPlot *plot = new QwtPlot();
plot->show();
return a.exec();
}
denke es liegt nicht an der app
mein .pro datei:
QT += core gui
TARGET = Test
TEMPLATE = app
INCLUDEPATH += C:\Qwt-5.2.1\include
Debug{
LIBS += -L C:\Qwt-5.2.1\lib -lqwtd5
}
Release{
LIBS += -L C:\Qwt-5.2.1\lib -lqwt5
}
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
Test.exe beendet, Rückgabewert -1073741515
Hier der Code:
#include <QtGui/QApplication>
#include "mainwindow.h"
#include <qwt_plot.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QwtPlot *plot = new QwtPlot();
plot->show();
return a.exec();
}
denke es liegt nicht an der app
mein .pro datei:
QT += core gui
TARGET = Test
TEMPLATE = app
INCLUDEPATH += C:\Qwt-5.2.1\include
Debug{
LIBS += -L C:\Qwt-5.2.1\lib -lqwtd5
}
Release{
LIBS += -L C:\Qwt-5.2.1\lib -lqwt5
}
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
-
ScyllaIllciz
- Beiträge: 200
- Registriert: 9. Juli 2010 19:31
-
ScyllaIllciz
- Beiträge: 200
- Registriert: 9. Juli 2010 19:31