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

When shiboken is used with a xml file that has references to the Boost header files then it will have an error

    XMLWordPrintable

Details

    • b6ab1bb8fc44e9c3c58b9c7cc946ebf626124df2 (pyside/pyside-setup/dev) c61284e82ff9c5fdb98009ba167ee62239f342ba (pyside/pyside-setup/6.0) 9a18fd9e2103c1ae73e2959fa79774b9d04d26ee (pyside/tqtc-pyside-setup/tqtc/lts-5.15)

    Description

      When shiboken is used with a xml file that has references to the Boost header files then it will have an error:

      (tsbase) ...\boost\property_tree\detail\ptree_implementation.hpp:29:5:error: Unable to find parent of inner class subs [other]
      

      It can also potentially crash, but I personally did not see that happen. To run the example make sure you have Boost 1.75.0 installed and then run shiboken with the command:

      shiboken2 --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero --avoid-protected-hack -I<boost 1.75 dir> -T<PySide type system dir> tsbase.xml.h tsbase.xml
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: