I am trying the 4.0.0 beta release on a 64-bit Windows 7 pro running on Visual Studio 2012 running Qt 5.5.0. I have following questions:
1) There are new folders in bin folder named imageformats, platforms and sqldrivers containing 32-bit dlls. My question is do I need the same DLLs in 64-bit?
2) Is this version compatible with VS2012? I was able to build debug version of successfully but release build failed in
- line 1429 and line 1438 on ..\styles\QtnOfficePaintManager.cpp
..\..\styles\QtnOfficePaintManager.cpp(1429) : error C2677: binary '&&' : no global operator found which takes type 'QPixmap' (or th
ere is no acceptable conversion)
..\..\styles\QtnOfficePaintManager.cpp(1438) : error C2677: binary '&&' : no global operator found which takes type 'QPixmap' (or th
ere is no acceptable conversion)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Q_ASSERT defined in qglobal.h as follows:
#if !defined(Q_ASSERT)
# if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
# define Q_ASSERT(cond) do { } while ((false) && (cond))
# else
# define Q_ASSERT(cond) ((!(cond)) ? qt_assert(#cond,__FILE__,__LINE__) : qt_noop())
# endif
#endif
[/i]
So for release build the while condition with && is not valid.
I was able to build release binaries by defining QT_FORCE_ASSERTS .
Please advice.
Please help.
Sisira