nunyabeezwax
14th August 2008, 02:35
I cannot figure out how to use qFromLittleEndian on Mac in xcode! I have included:
#include <QtGlobal>
#include <QGlobalStatic>
#include <qendian.h>
long size;
long = some_function_to_read_a_file_written_by_PC()
size = qFromLittleEndian( size );
and nothing seems to work. I searched this forum and the "newbie" and there were posts but no one ever seems to have made it work or at least they were not nice enough to explain it back to the forum.
I am on a ppc mac.
John
#include <QtGlobal>
#include <QGlobalStatic>
#include <qendian.h>
long size;
long = some_function_to_read_a_file_written_by_PC()
size = qFromLittleEndian( size );
and nothing seems to work. I searched this forum and the "newbie" and there were posts but no one ever seems to have made it work or at least they were not nice enough to explain it back to the forum.
I am on a ppc mac.
John