Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.11.1
-
None
-
-
c2004b6a71983ca9f8222875eecd6f7a440f75af
Description
When building Qt with "-qreal float" I'm running in the well known issue with qMax with a double and a float. The offending line is in items/qquickspriteengine_p.h:114
As this type of error is very common when having qreal being a float, I suggest to add all possible combinations of qMax/qMin for float/double.
There might be more of those errors in modules I do not compile.
I'm using gcc 7.3.1 - my configure options in for this build were:
configure -silent -opensource -confirm-license \
-nomake examples \
-nomake tests \
-nomake tools \
-qt-xcb \
-qreal float \
-skip qt3d \
-skip qtactiveqt \
-skip qtandroidextras \
-skip qtcanvas3d \
-skip qtcharts \
-skip qtconnectivity \
-skip qtdatavis3d \
-skip qtdoc \
-skip qtgamepad \
-skip qtgraphicaleffects \
-skip qtlocation \
-skip qtmacextras \
-skip qtmultimedia \
-skip qtnetworkauth \
-skip qtpurchasing \
-skip qtquickcontrols \
-skip qtquickcontrols2 \
-skip qtremoteobjects \
-skip qtscript \
-skip qtscxml \
-skip qtsensors \
-skip qtserialbus \
-skip qtserialport \
-skip qtspeech \
-skip qtvirtualkeyboard \
-skip qtwayland \
-skip qtwebchannel \
-skip qtwebengine \
-skip qtwebsockets \
-skip qtwebview \
-skip qtwebglplugin \
-skip qtwinextras \
-skip qtxmlpatterns