##// END OF EJS Templates
One more fix for version flag
One more fix for version flag

File last commit:

r1:e2b454419c47
r4:c4893b2f3467
Show More
main.cpp
19 lines | 353 B | text/x-c | CppLexer
#include <QtCore/QtGlobal>
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
#include <QApplication>
#else
#include <QtWidgets/QApplication>
#endif
#include <chartwidget.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
ChartWidget w;
w.resize(QSize(200,200));
w.setColor(Qt::red);
w.show();
return a.exec();
}