Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

close(int fd) not recognized in QT both fcntl.h and unistd.h are included