Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2590

Cannot build against Qt build with -qtnamespace

    XMLWordPrintable

Details

    • All
    • 602245bc1 (dev), 5929c612b (dev), 0f9c80c6e (6.6), dd0923ea3 (tqtc/lts-6.5), 73302356d (6.6), 1512e19a7 (tqtc/lts-6.5), 791f7c7e8 (dev), dd01b4f6b (6.6), 75981c3a7 (dev), 102b7fffa (dev), a660f04e6 (dev), 257a7d851 (dev), c3ed21d82 (dev), 2bc6c255d (6.6)

    Description

      For example the build fails when Qt is built with -qtnamespace PythonTest like:

      In file included from /home/user/work/qt/py/include/QtCore/qtconfigmacros.h:1,
                       from /home/user/work/qt/qt5/qtbase/src/corelib/global/qglobal.h:25,
                       from /home/user/work/qt/py/include/QtCore/qglobal.h:1,
                       from /home/user/work/qt/qt5/qtbase/src/corelib/tools/qpair.h:7,
                       from /home/user/work/qt/py/include/QtCore/qpair.h:1,
                       from /home/user/work/qt/qt5/qtbase/src/corelib/tools/qarraydata.h:8,
                       from /home/user/work/qt/py/include/QtCore/qarraydata.h:1,
                       from /home/user/work/qt/qt5/qtbase/src/corelib/tools/qarraydataops.h:8,
                       from /home/user/work/qt/py/include/QtCore/qarraydataops.h:1,
                       from /home/user/work/qt/qt5/qtbase/src/corelib/tools/qarraydatapointer.h:7,
                       from /home/user/work/qt/py/include/QtCore/qarraydatapointer.h:1,
                       from /home/user/work/qt/qt5/qtbase/src/corelib/tools/qlist.h:8,
                       from /home/user/work/qt/py/include/QtCore/qlist.h:1,
                       from /home/user/work/qt/py/include/QtCore/QList:1,
                       from /home/user/work/pyside-setup/sources/shiboken6/ApiExtractor/abstractmetalang_typedefs.h:7,
                       from /home/user/work/pyside-setup/sources/shiboken6/generator/generator.h:7,
                       from /home/user/work/pyside-setup/sources/shiboken6/generator/shiboken/shibokengenerator.h:7,
                       from /home/user/work/pyside-setup/sources/shiboken6/generator/shiboken/shibokengenerator.cpp:4:
      /home/user/work/pyside-setup/sources/shiboken6/generator/shiboken/shibokengenerator.h:30:26: note: candidates are: ‘class PythonTest::TextStream’
         30 | QT_FORWARD_DECLARE_CLASS(TextStream)
            |                          ^~~~~~~~~~
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            poikelin Joni Poikelin
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes