[Interest] Piping data between QProcesses

Thiago Macieira thiago.macieira at intel.com
Thu May 29 04:20:22 CEST 2014


Em qui 29 maio 2014, às 04:13:26, Petko Ditchev escreveu:
> Thank you for your guidance but I seriously have no idea what HANDLEs 
> are , nor how to write code that contains elements differing for the 
> different platforms

HANDLE is a void*. That's what the Win32 API uses to signal kernel handles.

The solution to store both a HANDLE and a file descriptor in the same type is 
to use qintptr, like we do for QAbstractSocket::setSocketDescriptor.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list