I cannot figure out how to use qFromLittleEndian on Mac in xcode! I have included:
Qt Code:
#include <QtGlobal> #include <QGlobalStatic> #include <qendian.h> long size; long = some_function_to_read_a_file_written_by_PC() size = qFromLittleEndian( size );To copy to clipboard, switch view to plain text mode
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
Bookmarks