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

build errors: QuickRegisterItemFunction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6
    • None
    • PySide
    • None
    • 5e507c6ead2457ae863ce4d6bf1710ef02fac892

    Description

      I'm compiling PySide2 at windows with Qt5.6.1 (x64), python2.7 and VisualStudio2015.
      I hit the following errors (attached)

      Workaround:
      To fix build errors about QtQuick and QtQml. I disable dQuickRegisterItemFunction stuff.

      PySide2/QtQuick/pysidequickregistertype.cpp

      #ifdef PYSIDE_QML_SUPPORT
          setQuickRegisterItemFunction(quickRegisterType);
      #endif
      

      pySide2/QtQml/pysideqmlregistertype.cpp

      #ifdef PYSIDE_QML_SUPPORT
          QuickRegisterItemFunction quickRegisterItemFunction = getQuickRegisterItemFunction();
          if (quickRegisterItemFunction) {
              registered = quickRegisterItemFunction(pyObj, uri, versionMajor, versionMinor,
                                                     qmlName, &type);
          }
      #endif
      

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            zhihao zhihao li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes