[Interest] Qt 5.6.0 problems
Tony Rietwyk
tony at rightsoft.com.au
Fri Mar 18 07:06:31 CET 2016
Hi Everybody,
Using qt-enterprise-windows-x86-msvc2013-5.6.0.exe package coming from
5.5.1:
1) The qmake rule:
win32 {
# These aren't available in some Windows versions so delay loading
them until we can check they are available
LIBS += /DELAYLOAD:mfplat.dll
LIBS += /DELAYLOAD:mfreadwrite.dll
}
in the resulting VS 2013 project now gets a linker error "cannot open input
file '\DELAYLOAD:mfplat.dll'" so it seems qmake is replacing the slash with
backslash. Is there a way that I can prevent that happening?
2) A new header file gives warnings in VS 2013 for EACH file that is
compiled:
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(100): warning C4242:
'argument' : conversion from 'uint' to 'quint8', possible loss of data
(..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(121): warning C4242:
'return' : conversion from 'uint' to 'quint8', possible loss of data
(..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(122): warning C4242:
'return' : conversion from 'uint' to 'quint8', possible loss of data
(..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(123): warning C4242:
'return' : conversion from 'uint' to 'quint8', possible loss of data
(..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(124): warning C4242:
'return' : conversion from 'uint' to 'quint8', possible loss of data
(..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(137): warning C4242:
'initializing' : conversion from 'uint' to 'const quint16', possible loss of
data (..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(138): warning C4242:
'initializing' : conversion from 'uint' to 'const quint16', possible loss of
data (..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(139): warning C4242:
'initializing' : conversion from 'uint' to 'const quint16', possible loss of
data (..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(140): warning C4242:
'argument' : conversion from 'const quint32' to 'quint16', possible loss of
data (..\..\src\application\i18n_system.cpp)
1>C:\qt\Qt5.6.0\5.6\msvc2013\include\QtGui/qrgba64.h(177): warning C4242:
'argument' : conversion from 'const quint32' to 'quint16', possible loss of
data (..\..\src\application\i18n_system.cpp)
This makes finding compilation errors painful. Would modifying the header
to add some static_casts cause problems in our binaries not matching the
pre-built DLLs?
3) Some of the Qt sources do not match when debugging and stepping into
those routines. Should I raise a bug for these? Is this possibly due to
inconsistent line endings? Are they cleaned for each target as part of the
package build process?
Regards,
Tony
More information about the Interest
mailing list