Einswilli / KivymdStudio

Development studio for kivymd, This is not the official repository of KIVYMDSTUDIO. It is a small homemade project just for fun.
55 stars 23 forks source link

Pyside2 and Pyside6 in MAC #10

Open jhay06 opened 1 year ago

jhay06 commented 1 year ago

hello , i believe from the documentation mac os is not yet supported , but im trying to open it on mac , all requirements installed but because there's a conflict between pyside2 and pyside6 it causes the app to crash (segmentation fault)

objc[34301]: Class QMacAutoReleasePoolTracker is implemented in both /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x10f637198) and /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide6/Qt/lib/QtCore.framework/Versions/A/QtCore (0x207290430). One of the two will be used. Which one is undefined. objc[34301]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x10f637210) and /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide6/Qt/lib/QtCore.framework/Versions/A/QtCore (0x2072904a8). One of the two will be used. Which one is undefined. objc[34301]: Class KeyValueObserver is implemented in both /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x10f637238) and /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide6/Qt/lib/QtCore.framework/Versions/A/QtCore (0x2072904d0). One of the two will be used. Which one is undefined. objc[34301]: Class RunLoopModeTracker is implemented in both /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore (0x10f637288) and /Users/{user}/gits/venv/lib/python3.9/site-packages/PySide6/Qt/lib/QtCore.framework/Versions/A/QtCore (0x207290520). One of the two will be used. Which one is undefined. file:///Users/{user}/gits/KivymdStudio/qml/NewProject.qml:540:17: QML ScrollView: Binding loop detected for property "implicitHeight" libpng warning: iCCP: known incorrect sRGB profile qt.qpa.fonts: Populating font family aliases took 322 ms. Replace uses of missing font family "Monospace" with one that exists to avoid this cost. Segmentation fault: 11

i dont know why both pyside2 and pyside6 were needed but i think there's a reason behind that . ?

Einswilli commented 1 year ago

Thank you for the feedback. Some widgets in the application were initially written with PySide6 and then adapted to be used with PySide2. This issue will be resolved soon.

Einswilli commented 1 year ago

For the issue with the MONOSPACE font, you can install it on your machine using this link