Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PySide2 - missing QOpenGLShader
QtWS25 Last Chance

PySide2 - missing QOpenGLShader

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 693 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mponiatowski
    wrote on last edited by mponiatowski
    #1

    Hello,

    I try to compile PySide2 in Yocto environment.
    I got the errors:
    ../build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:220: error: no member named 'DragMove' in 'QOpenGLShader'; did you mean simply 'DragMove'?

    ../build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:213: error: no viable conversion from 'QEvent::Type' to 'QFlagsQOpenGLShader::ShaderTypeBit'

    ../build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:104:240: error: no matching constructor for initialization of 'QDragMoveEvent'

    /build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:221:73: error: no member named 'DragMove' in 'QOpenGLShader'

    Qtbase = git://code.qt.io/qt/qtbase.git -> 5.15.7 #ab28ff2207e8f33754c79793089dbf943d67736d
    PySide2 = https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.7-src/pyside-setup-opensource-src-5.15.7.tar.xz

    Could you give me some advice?

    Best Regards,
    Michal

    1 Reply Last reply
    0
    • F Offline
      F Offline
      friedemannkleint
      wrote on last edited by
      #2

      PLease use the current version 6.5; PySide2 does not support this. See https://doc.qt.io/qtforpython-6/gettingstarted/index.html .

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved