Hello,
Today We are start to study the Qt based GUI Programming for x86 & ARM architecture.
Program : 1) Insert PushButton.
#include<QApplication>
#include<QPushButton>
int main(int argc,char *argv[])
{
QApplication app(argc,argv);
QPushButton *Button = new QPushButton("Program 1");
Button.show();
app.exec();
}
Today We are start to study the Qt based GUI Programming for x86 & ARM architecture.
Program : 1) Insert PushButton.
#include<QApplication>
#include<QPushButton>
int main(int argc,char *argv[])
{
QApplication app(argc,argv);
QPushButton *Button = new QPushButton("Program 1");
Button.show();
app.exec();
}
QSerialPort serial;
ReplyDeleteserial.setPortName("/dev/ttyUSB0");
int i =serial.open(QIODevice::ReadWrite);
it is return a 0 means not open a node ???
thanks for sharing. Best Amazon Digital Marketing Courses
ReplyDelete