Qt on Windows (MinGW-w64)

Compile Graphics Magick, Boost, Botan and QT with MinGW64 under Windows 7 64
Building a custom MinGW/MSYS development environment

QT Archive

INCLUDEPATH += c:/MingW/opt/include
QMAKE_CFLAGS   += c:/MingW/opt/include
QMAKE_CXXFLAGS += c:/MingW/opt/include
QMAKE_LFLAGS   += c:/MingW/opt/lib
QMAKE_CXXFLAGS_DEBUG    += c:/MingW/opt/include
QMAKE_CXXFLAGS_RELEASE  += c:/MingW/opt/include
streambase.cpp: In member function 'quint16 StreamBase::frameLen(int) const':
streambase.cpp:217:48: error: cast from 'const StreamBase*' to 'ulong {aka long unsigned int}' loses precision [-fpermissive]
             qsrand(reinterpret_cast<ulong>(this));
                                                ^
make[2]: *** [debug/streambase.o] Error 1

Leave a Reply

Your email address will not be published. Required fields are marked *