Hi, my problem is to use the QSerialDevice in my Gui. Functions,constructors they are need QObject "parameters" but in my class in constructor I have QWidget
#include "src/qserialdeviceenumerator/serialdeviceenumerator.h"
canteen
::canteen(QWidget *parent
) : ui(new Ui::canteen)
{
this->m_sde= new SerialDeviceEnumerator(this);
ui->setupUi(this);
}
#include "src/qserialdeviceenumerator/serialdeviceenumerator.h"
canteen::canteen(QWidget *parent) :
QWidget(parent),
ui(new Ui::canteen)
{
this->m_sde= new SerialDeviceEnumerator(this);
ui->setupUi(this);
}
To copy to clipboard, switch view to plain text mode
when i build ... is ":: error: collect2: ld returned 1 exit status"
And I have a few questons
1.Is it posible to use QSerialDevice in Gui ??
2. Can anybody could help ??
Sorry for my english
Bookmarks