QextSerialPort missing data [solved]
-
welcome to devnet
There are at least two different Qt-based implementations available. There have been already a number of threads concerning the topic. One of the implementations or also both are mentioned in following threads with following tags:
"QExtSerialPort":http://qt-project.org/search/tag/qextserialport
"QSerialDevice":http://qt-project.org/search/tag/qserialdevice
[edit]
A good start might be "this overview":http://qt-project.org/forums/viewthread/16949 -
2 Dantcho
bq. but the QSerialDevice can be the right for my project
Instead of QSerialDevice - use "QtSerialPort":http://qt-project.org/wiki/QtSerialPort.
QSerialDevice is no longer growing (develop is freezing). His code was used as the basis QtSerialPort. Now QtSerialPort is a child. -
Hi all,
I have to work with serial port and need to to install it on my computer.
What i have to do to install it?I download this:
"qtplayground-qtserialport"from here:
http://qt-project.org/wiki/QtSerialPortbut I am a little confuse because the installing guide is for linux not for windows.
How to install qt serial port on windows?Thanks!
-
What an embarrassment? Where does it say that only for Linux?
Read "it":http://qt-project.org/wiki/QtSerialPort#b55bbb687c599634cc785869b9167639 again
-
Hi everybody,
I createt tree windows with the QtDesigner and from windows one of them start the another windows,
from windows one I have connection to the another windows (include the header files), so I include the the header file from the windows one to the another windows to have connection from every window to the window one, but wenn I declare filetype from windows one I get the following error.
"Fehler:ISO C++ forbids declaration of 'Com_Net' with no type"this is a C++ error, but I include the header files :-(((.
Wath cann I do to solve this problem.
Here is the header file from the another windows.
@#ifndef DICS_H
#define DICS_H#include <QWidget>
#include <QSizePolicy>
#include <QMoveEvent>#include "com_net.h" bq. here include the header files from the windows one
#include "ui_com_net.h"namespace Ui {
class DICS;
}class DICS : public QWidget
{
Q_OBJECTpublic:
explicit DICS(QWidget *parent = 0);
~DICS();private slots:
void on_External_Button_clicked();
void on_Internal_Button_clicked();
void on_PABX_Button_clicked();
void on_PAS_Button_clicked();private:
Ui::DICS *ui;
Com_Net *active_com_net; bq. and here is the pointer declaration from windows one.
virtual void moveEvent(QMoveEvent *event);
};#endif // DICS_H@
Thanks very much, for the help.
-
Dear community,
I work with the "qextserialport-1.2beta2" and all work well, but I have one problem, I want to send in binary mode, ones I can set is "port->setTextModeEnabled(false);" but the serial port stil interpret the data "o" like a null terminator and so cut the string after the every "0".
my question is it possible to send by "qextserialport" binary mode, or I have to look for a another way.thanks for the answer, :-))).