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

build errors: QuickRegisterItemFunction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: dev
    • Fix Version/s: 5.6
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      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

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            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