


Qt Components by kuzulis 143 comments
A little unclear about which library it, about what examples and what kind of buffer do you mean? - Jan 24 2013

Qt Components by kuzulis 143 comments
1. Use QtSerialPort, because in QSerialDevice 2.0 has some bugs.
2. Give a minimal example that reproduces the problem.
- Apr 26 2012

Qt Components by kuzulis 143 comments
Strange, but I'll check it in the future, maybe :) - Mar 13 2012

Qt Components by kuzulis 143 comments
Strange, but I'll check it in the future, maybe :) - Mar 13 2012

Qt Components by kuzulis 143 comments
But you could just remove in serialportengine_p_win.cpp here lines:
...
53 #ifndef Q_CC_MSVC
54 # include <ddk/ntddser.h>
55 #else
...
88 #endif - Mar 13 2012

Qt Components by kuzulis 143 comments
Look for it in the documentation below in compliance with such as: "Programming with a blocking socket is radically different from programming with a non-blocking socket..."
When using waitForReadyRead() does not make sense in the signal readyRead()! :) - Mar 13 2012

Qt Components by kuzulis 143 comments
For details, see here
http://qt-project.org/wiki/QtSerialPort
It says how to build a library.
Documentation is now done in QDoc, therefore, if you will use QtSerialPort - then run "make docs".
Perhaps this is also true in relation to QSerialDevice.
ReadyRead () signal is working. Maybe you do something wrong.
For QSerialDevice 2.0 see examples in /examples and /tests
- Mar 13 2012

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
http://gitorious.org/qserialdevice/qserialdevice/trees/2.0 - Jan 21 2012

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
For example, a test application: qserialdevice-qserialdevice\tests\guiapp\guiapp.pro
I opened a QtCreator, compile and run without problems. - Jan 10 2012

Qt Components by kuzulis 143 comments
Use the new version 2.0 of the library - there are many changes and everything should work fine.
http://gitorious.org/qserialdevice/qserialdevice/trees/2.0 - Dec 31 2011

Qt Components by kuzulis 143 comments
The new version 2.0 here:
http://gitorious.org/qserialdevice/qserialdevice/trees/2.0 - Dec 31 2011

Qt Components by kuzulis 143 comments
Click Version Control Link (in the header of the this page). - Dec 30 2011

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
http://www.qtcentre.org/threads/43607-qSerialDevice-and-WINCE-is-it-possible-to-run-it?highlight=qserialdevice - Aug 03 2011

Qt Components by kuzulis 143 comments
And then ask what is not clear. - Jul 25 2011

Qt Components by kuzulis 143 comments
- bool canReadLine() const; [public]
- qint64 readLineData(char *data, qint64 maxlen); [protected]
Take them out of the implementation of source Qt4 (QAbstractSocket) and copy in AbstractSerial.
:)
At a signal readyRead() first calls canReadLine() and if successful have you read the readLine().
PS: Perhaps, too, will have to uncomment the regime Text (which is disabled by default in the library). Look for himself where he is. Although it might not be needed.
- Jul 15 2011

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
1. You first need to compile it as dynamic.
Change /src/src.pro:
---
#CONFIG += staticlib
CONFIG += dll
---
2. Build liblary, use BuildLibrary.pro.
After this, you will be ready to Library,
example here: ../build/(debug/release)/qserialdevice(d).dll
3. Copy header files (abstractserial.h, serialdeviceenumerator.h), and library (qserialdevice(d).dll)
to your project directory, example:
---
/yourproject
|-/lib
| |->qserialdevice(d).dll
|-/includes
| |->abstractserial.h
| |->serialdeviceenumerator.h
|-/yoursrc
|->your *.cpp/*.h
|->your.pro
---
4. For compile your project - change your your.pro, example:
---
INCLUDEPATH += ../includes
QMAKE_LIBDIR += ../lib
LIBS += -lqserialdevice(d)
---
5. After compile, for running your application, move (or copy) library qserialdevice(d).dll
to directory with yourapplication.exe
6. Running yourapplication.exe - Jun 25 2011

Qt Components by kuzulis 143 comments
1. Reinstall the new Qt SDK (example, stable SDK for Windows):
http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2010.05.exe
2. Download stable QSerialDevice version 0.4.0 :
https://gitorious.org/qserialdevice/qserialdevice/archive-tarball/0.4.0
3. And build!
PS: In those errors (which you post it above) are analyzed myself, I do not know these errors. - Apr 25 2011

Qt Components by kuzulis 143 comments
Oh, a lot of mistakes building... :)
I do not know where you have so many errors. Perhaps the reason is that you have a poorly installed or compiled by myself Qt-Embedded-arm. You first try to collect for their Qt-Embedded-arm any application of the examples of Qt (eg network, etc.).
And if you all get - that means the problem is QSerialDevice, but I can not help you solve it. - Apr 21 2011

Qt Components by kuzulis 143 comments
Try to remove it from *. pri / *. pro files, everything related to ** _win.
I (and others) in such a PC with Linux is compiled without any problems.
I did not use Embedded ARM so I can not help you. - Apr 20 2011

Qt Components by kuzulis 143 comments
1. You can in your project to use copies of the library folder (qserialdevice and qserialdeviceenumerator) and connect them to the project over (with) *. pri files.
(see examples \test\guiapp(guiapp2).
2. You can separately compile (default) static library with the aid of BuildLibrary.pro. For inclusion in the project you only need the header files (abstractserial.h, serialdeviceenumerator.h) and the file library (libqserialdevice(d).a).
3. Also similar to step 2. you can dynamically build the library and use it as in step 2. (ie, the library file will libqserialdevice (d). dll (so)).
--
For using p.2 and/or p.3 in your project file, you must specify:
- INCLUDEPATH += <the path to directory where are the header files>
- QMAKE_LIBDIR += <the path to directory where are the library file>
- LIBS += -l<name of library file>
see examples in /examples directory
- Apr 06 2011

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
In your SDK is not private file "qwineventnotifier_p.h". I do this do nothing, this is a feature of this version of SDK. Take it from source Qt this file, list the path to it and compile. Other way I can not see ... - Mar 06 2011

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
Uploading from the current master branch:
http://gitorious.org/qserialdevice/qserialdevice/archive-tarball/master - Mar 05 2011

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
data[0] = 0x00;
...
data[255] = 0xFF;
...
port->write(data, 256);
... - Mar 01 2011

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
Yes, after opening use the method: setFlowControl() and continue to do everything as in the examples (by analogy).
> What is the "current branch library"?
http://gitorious.org/qserialdevice/qserialdevice/archive-tarball/master - Nov 30 2010

Qt Components by kuzulis 143 comments
1. Why are you not able to use method: write() ?? Explain!
2. QByteArray is a container for any data. What do you mean by binary data?
3. If you want to use QDataStream - then try to download the current branch library (the master) and use the same Qt sockets. Try it.
PS: I advise you to look at the examples /examples. It sends and receives binary data. - Nov 29 2010

Qt Components by kuzulis 143 comments
I do not know. Test yourself. And if you can find the cause - then let me know. - Sep 19 2010

Qt Components by kuzulis 143 comments
1. Maybe you have an error (inaccuracy) in the time dimension, because QTime gives an error (inaccuracy) + / - 50-70 ms.
2. Maybe at the reception of data affects charIntervalTimeout, which by default is 50 ms. Try to reduce it.
3. In what operating system you are doing the test? - Sep 18 2010

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
Take a crossover cable and connect them to ports on your computer. Take the examples / writer and / sreader and check.
Can send bytes as you want (at least 8192, at least 16000, at least 100000, and etc) and they will be read.
Can change charIntervalTimeout experimentally for better communication.
What is the actual problem?
What is "Stop/Wait(handshaking)communicating" ? - Sep 17 2010

Qt Components by kuzulis 143 comments
1. Try download new snapshot (Today I made a lot of changes.)
2. For build in Qt 4.5.x you must replace "qt_safe_select" simply "select". - Sep 14 2010

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
---
For interest - go look in the directory / include (or similar) of your compiler in all files *. h - text PCVOID. Will it be found? And in what files?
---
Question: what the compiler uses MinGW, MSVS, other? - Jul 06 2010

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Serenum]
??? - Jun 02 2010

Qt Components by kuzulis 143 comments

Qt Components by kuzulis 143 comments
Используйте лучше SVN клиент. Я вчера только обновлял исходники в SVN. - May 28 2010

Qt Components by kuzulis 143 comments