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

update Example:Books with newly-required headers

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.1.1
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      All
    • Sprint:
      Da Vinci sprint 38

      Description

      Re: SQL Example Books

      After this example was published, Qt Creator now requires all classes to be declared prior to use.

      https://code.qt.io/cgit/qt/qtbase.git/tree/examples/sql/books/bookwindow.cpp?h=6.1

      Books::createMenuBar() calls QAction and QMenu, which requires

        #include <QAction>

        #include <QMenu>

      added to bookwindow.cpp.

        Attachments

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

          Activity

            People

            Assignee:
            diseraluca Luca Di Sera
            Reporter:
            psnarf Henry Pfeil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes