Running binarycreator fails with
 Warning: QFile::at: Cannot set file position 0  Critical: Error occurred while assembling the installer: Read failed after 0 bytes: Unknown error
on my machine. I'm running Qt version 5.11.2.
The issue is fixed with the attached patch.
To reproduce simply run
git clone http://code.qt.io/cgit/installer-framework/installer-framework.git/ cd installer-framework/examples qmake && make
- is duplicated by
QTIFW-1091 binarycreator built with static Qt 5.10.0 doesn't work
QTIFW-1123 ASSERT failure in QFSFileEngine::open
- relates to
QTIFW-1312 Enable support for Qt 5.12 for 1.1.1 OpenSSL