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

Deprecated Function "isTopLevel" in qwidget.h defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1.0 RC
    • Fix Version/s: 6.1.1, 6.2.0 FF
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Windows 10 20H2, Visual Studio 2019, CMake
    • Platform/s:
      All, Windows
    • Commits:
      e51e5c5840b4db15c3bc876d9613a7bb2d26a7d0 43d6778ce59266067d2fb5adf88a1ba3f73b29ae

      Description

      A compiler error occurs when including the QWidget header (build from source) and setting QT_DISABLE_DEPRECATED_BEFORE to Version 6.1.0:

      include\QtWidgets\qwidget.h(765,22): error C2039: "isTopLevel" is not a member of "QWidget".

        Attachments

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

          Activity

            People

            Assignee:
            jkobus Jarek Kobus
            Reporter:
            laserentchen - -
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes