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

qtdocgallery fails to build from source, incorrect placement of #includes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15, 6.0
    • 5.15
    • Build System
    • None
    • Debian unstable
      uname -a: Linux Psyche 5.9.0-4-amd64 #1 SMP Debian 5.9.11-1 (2020-11-27) x86_64 GNU/Linux
      g++ --version: g++ (Debian 10.2.1-1) 10.2.1 20201207
    • Linux/Wayland

    Description

      The auto-generated sources from MOC for qtdocgallery are #include'd at the wrong location, inside namespaces as opposed to outside of the namespaces. As a result references to global namespace through the #include <memory> inside the autogenerated sources fail to be resolved correctly. This causes the build to fail with slightly cryptic error messages.

      This bug is an attempt to get the original issue filed under the correct component with the right team members looking at it. See also:QTBUG-82690

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-89664
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              cmacq2 Johan Ouwerkerk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes