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

Documentation about Qt::AA_DisableSessionManager refers to wrong version of Qt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.13.2
    • Fix Version/s: 5.15.0 RC
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      a275d38385382b8630dbd7de4df352bd7defb7aa (qt/qtbase/5.14)

      Description

      The documentation for Qt::AA_DisableSessionManager on Qt Namespace page says that this value has been added in Qt 5.13. It seems to be wrong, this value is only present since Qt 5.14.

      The simple proof is as follows: go to this page for Qt 5.13.2 and search for AA_DisableSessionManager -> nothing is found. But on this page for Qt 5.14.0 the value can actually be found.

      I figured this issue out differently - tried to set this attribute and build with Qt 5.13.2 at AppVeyor CI, the error message was as follows:

      ..\bin\quentier\src\main.cpp(59): error C2039: 'AA_DisableSessionManager': is not a member of 'Qt'
      c:\qt\5.13\msvc2017\include\qtcore\qstring.h(1859): note: see declaration of 'Qt'
      ..\bin\quentier\src\main.cpp(59): error C2065: 'AA_DisableSessionManager': undeclared identifier
      

      Here is the review for the addition of AA_DisableSessionManager, just in case.

        Attachments

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

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            d1vanov Dmitry Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes