Для тех кто пишет расширения на PyQt/PySide для CG-софтов.
Когда я только начинал писать тулзы под Maya (тогда еще версия 2010-2011) мне приходилось ручками ставить PyQt4 под Maya. Даже написал мануалы по установке на своём сайте. Но потом стал доступен из коробки PySide и позже он обновится до PySide2. Для некоторых систем была поддержка PyQt5.
И как простому разработчику поддерживать этот зоопарк? Ведь хочется чтобы тул работал на любой версии (вы тоже делали модуль что-то типа import_qt.py?😁)
На помощь приходит проект Qt.py который поставил себе цель унифицировать использование Qt-биндингов вне зависимости от среды где запускается код. Те, кто давно пишут на Qt, скорее всего знают этот проект.
Он стал стандартом для CG-индустрии и используется в топовых студиях и проектах.
Qt․py помогает запускать один и тот же код на разных платформах с разными вариантами Qt-библиотек. Это может быть как интеграция в CG-софт, так и переносимость стендалонов между разными платформами с разными версиями Python.
Я решил рассказать о некоторых особенностях работы с этой библиотекой.
Сегодня о том, как установить и использовать Qt․py и что это вам даёт.
Установка
pip install Qt.py
Чтобы начать использовать Qt․py в коде достаточно заменить импорт вашего варианта Qt-биндинга на Qt․py
from [PySide|PyQt4|PySide2|PyQt5] import QtWidgets
=>
from Qt import QtWidgets
Теперь ваш код будет поддерживать любой вариант биндинга Qt в Python.
При этом не потребуется использовать if-else конструкции под разные версии. Все вызовы теперь одинаковы.
Всё что нужно сделать, это написать его по правилам PySide2. Именно эта версия была взята за основу.
Приоритет импорта такой:
1. PySide2
2. PyQt5
3. PySide
4. PyQt4
Что именно загрузилось можно посмотреть в переменной __binding__
>>> import Qt
>>> Qt.__binding__
'PySide2'
Приоритет имопрта можно изменить через переменные QT_PREFERRED_BINDING и QT_PREFERRED_BINDING_JSON. Причем под каждый проект оверрайды можно настраивать индивидеально.
#qt#libs
Audi A8 e-tron launch event for which we did keynote presentations brought us a big challenge suddenly as just a night before we had to change and move contents from one screen to another due to tecnical glitch in screens setup. As you can see there are screens everywhere for immersive experience, all keynote presentations had to be made for all screens to ensure the event is grand as it's Audi . We did this event last year and we did another Audi event last month. It's fun 😊
#Keynote#presentation#design@PowerPointBBT
We worked for Coca-Cola event that happened in May this year. With so much of content changes constantly coming from them, it was tough but we did it. At the end, clients appreciated us so much for allowing last minute changes and making the event a success.
#PowerPoint#Keynote#presentation#ppt
Last year we did presentation for KIA NDC and this year we did it for its parent company Hyundai. One more addition to the brands we have served. Take a look at the presentation that we did in keynote for this 13 screen setup measuring a total of 80 feet. A seamless presentation for an immersive experience.
#PowerPoint#Keynote#presentation#ppt
Hello there, please reach out for any PPT (PowerPoint) related work. Have worked with some top brands like Samsung, Honda, KIA, Lenovo, Adobe, Google and many more.
#PowerPoint#Keynote#presentation#ppt
So, we were working on one of the number one mass-market automotive brands. It originates from Korea and has a worldwide presence.
Unfortunately happened to be a double work for us because suddenly they realised that they didn't brief us on about their brand guidelines. We had to change the whole course and it's right now under management review. Barely slept for 4 hours.
#PowerPoint#Keynote#presentation#ppt
🎤Keynote Speech by Meta & NVIDIA
📍 September 24, 2025 | Main Hall 1, CAEx, Tashkent
⏰ 14:00 – 16:00
Representatives of META and NVIDIA will deliver inspiring keynote speeches and take part in TED Talks, sharing their vision of the future of digital technologies. The sessions will highlight cutting-edge innovations in AI, immersive technologies, and digital transformation, offering new perspectives for Uzbekistan’s ICT ecosystem.
👉 Don’t miss the chance to hear directly from global tech leaders shaping the future of technology.
#ICTWeekUzbekistan2025#META#NVIDIA#AI#Innovation#Keynote#DigitalTransformation