Hello., I would like to give a one-line display. But what is not shown. Please help me.
#include <QApplication>
#include <QtWidgets>
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QPainter* painter=new QPainter;
painter->drawLine(100,100,200,200);
return app.exec();
}
Bookmarks