이 저장소의 코드는 Windows 10 / MacOS Big Sur + Visual Studio Code + Python 3 + PyOpenGL + PyQt5 로 테스트되었습니다.
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/OpenGL/platform/ctypesloader.py
fullName = util.find_library( name )
를 아래와 같이 수정
if name == 'OpenGL':
fullName = '/System/Library/Frameworks/OpenGL.framework/OpenGL'
- PyQt5를 PyQt6로 업그레이드 하면...
수정할 내용
- QOpenGLWidget
PyQt6에서 QOpenGLWidget 클래스의 모듈 이동 from PyQt6.OpenGLWidgets import *
- App 실행
exec_() => exec()