create new QT Project, choose QT C++ Project > Qt Gui Application, click Next name your application as you wish, click Next leave everything as it is, click Next click Finish click on the Design Tab, drag a Text Edit box include the following headers #include "ui_mainwindow.h" #include <QFile> #include <QTextStream> #include <QString> #define IO_ReadOnly
Recent Comments