Re: [Development] What do you know about Qt::Device/IoHandle?

2013-03-12 Thread Alex Henrie
2013/3/12 Sergey Belyashov sergey.belyas...@gmail.com: Laszlo is not primary maintainer. But Denis is. Laszlo is most active developer. Our policy is to accept features if only all 3 maintainers accepts it. I an Denis can accept your change. If you persuade Laszlo to accept patch then it will

[Development] What do you know about Qt::Device/IoHandle?

2013-03-11 Thread Alex Henrie
Hi all, I have been trying to get a patch accepted to QSerialPort: https://codereview.qt-project.org/#change,48393 Basically, my problem is that I want to use QSerialPort, but I need to run the serial port in non-exclusive mode. My patch adds a handle() function to get the serial port's file

Re: [Development] What do you know about Qt::Device/IoHandle?

2013-03-11 Thread Thiago Macieira
On segunda-feira, 11 de março de 2013 19.07.53, Alex Henrie wrote: It seems to me that Qt::Device/IoHandle could only work as long as Qt is not ported to any operating system that uses different data types for serial port, parallel port, bluetooth, and USB handles. However, Laszlo says that at

Re: [Development] What do you know about Qt::Device/IoHandle?

2013-03-11 Thread Laszlo Papp
On Tue, Mar 12, 2013 at 1:07 AM, Alex Henrie alexhenri...@gmail.com wrote: 1. Put #ifdef around the function prototype so that handle() returns an int on Unix and a HANDLE (a.k.a. void*) on Windows. In the documentation, do not specify handle()'s return type. As written, this does not sound