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

[REG dev] qnumeric.h: qBound() not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.10.0 FF
    • 6.10
    • Core: Other
    • None
    • Windows 11, latest MSVC
    • Windows
    • c8d20da62 (dev)

    Description

      I'm building Qt from sources as static lib.

      Latest dev built successfully, but getting an error when building the app:

      D:\opt\qt\static\include\QtCore/qnumeric.h(557): error C3861: 'qBound': identifier not found
      D:\opt\qt\static\include\QtCore/qnumeric.h(557): note: 'qBound': function was not declared in the template definition context and can be found only via argument-dependent lookup in the instantiation context
      D:\opt\qt\static\include\QtCore/qnumeric.h(557): note: the template instantiation context (the oldest one first) is
      D:\opt\qt\static\include\QtCore/qmargins.h(201): note: see reference to function template instantiation 'int QtPrivate::qSaturateRound<qreal,true>(FP)' being compiled
              with
              [
                  FP=qreal
              ]

      Found the problematic commit after bisecting:

      Commit date:	21 hours ago (4/9/2025 4:49:11 PM)
      Commit hash:	03d5daf9437d8b46db2e89e3a9763ea701fa681c
      
      Add jemalloc support
      
      Change-Id: I6166e64e66876dee22662d3f3ea3e42a6647cfeb

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            nodir.temir Nodir Temirkhodjaev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes