QByteArray bf;if (file.open(IO_ReadOnly)) file.readBlock(bf,file.size());
error C2664: 'QFile::readBlock' : cannot convert parameter 1 from 'QByteArray' to 'char *' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C++ (Qt)QByteArray QIODevice::read ( qint64 maxSize )QByteArray QIODevice::readAll ()
C++ (Qt)file.read( qint64 maxSize )file.readAll()