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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest