[Qt-interest] MinGW and msvcr90.dll under Windows

Pavel Koshevoy pavel at aragog.com
Sat Nov 27 21:10:06 CET 2010


On 11/27/2010 01:03 PM, Bob Babcock wrote:
> Constantin Makshin <cmakshin at gmail.com> wrote in
> news:AANLkTikkVvKqYxAbrXOHp3kGdd=EqFWgyiie8HV1E_uC at mail.gmail.com: 
> 
>> Since this is a Qt-related mailing list, why not use QFile::pos() and
>> QFile::seek() functions that work with 64-bit file offsets and are
>> always the same no matter what platform and compiler you use?
> 
> This is existing code that has been converted to Qt.  Not only do I have a 
> lot of my code that would need to be changed, I've also got calls to 
> InfoZip routines that expect a FILE * argument.  But, I may have no choice 
> but to do the conversion.
> 
> Thanks.


Why not simply have a look at how QFile works (in Qt source code), and avoid the
port to QFile?

	Pavel.



More information about the Qt-interest-old mailing list