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

FTBFS Assistant: qlitehtml: ‘int DocumentContainerPrivate::pt_to_px(int) const’ marked ‘override’, but does not override

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.x
    • Tools: Assistant
    • None

    Description

      In file included from /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/container_qpainter.cpp:5:
      /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/container_qpainter_p.h:74:9: error: ‘int DocumentContainerPrivate::pt_to_px(int) const’ marked ‘override’, but does not override
         74 |     int pt_to_px(int pt) const override;
            |         ^~~~~~~~
      /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/container_qpainter.cpp: In constructor ‘DocumentContainer::DocumentContainer()’:
      /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/container_qpainter.cpp:436:13: error: invalid new-expression of abstract class type ‘DocumentContainerPrivate’
        436 |     : d(new DocumentContainerPrivate)
            |             ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/container_qpainter_p.h:58:7: note:   because the following virtual functions are pure within ‘DocumentContainerPrivate’:
         58 | class DocumentContainerPrivate final : public litehtml::document_container
            |       ^~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml.h:4,
                       from /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/container_qpainter_p.h:8:
      /home/tjmaciei/src/qt/qt6-release/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml/html.h:41:65: note:     ‘virtual int litehtml::document_container::pt_to_px(int)’
         41 |                 virtual int                                     pt_to_px(int pt) = 0;
            |                                                                 ^~~~~~~~
      

      Looks like the const was dropped or added.

      Attachments

        Issue Links

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

          Activity

            People

              jkobus Jarek Kobus
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes