Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69573

compile error with -qreal float

    XMLWordPrintable

Details

    • Linux/X11
    • 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

       

       

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            uwe Uwe Rathmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes