7 June 2024
So now I am a bit stuck: I know since Qt 5 (and Python 3) everything is Unicode, but how are Unicode code points represented in .ui Files from QT Designer a.k.a. pyside6-designer? I load such file with QUiLoader.load():
<widget class="QLabel" name="label_9">
<property name="text">
<string>🏡 whatever</string>
It also does work with HTML entities like £ but others like 🏡 only show the box.
9 June 2024
Ссылка
click to show
click to show
Hi guys, I wanted to ask if you know how I can solve this problem:
Since yesterday evening I can no longer change the size of any window/widget via QtDesigner. I don't understand how it is possible. Before this problem I changed the QtDesigner font with a personal one via preferences window.
Thinking that this was the problem then I tried to remove all the libraries related to Pyside6 via pip uninstall.
I deleted the folder QtDesigner inside AppData/LocalRow/QtDesigner via %regedit% and restarted the PC. Then reinstalled Pyside6 again.
But the problem remains the same. I don't know how I can fix it or where is the issue. I cant upload a video here so i hosted on streamble.
10 June 2024
Ссылка
click to show
click to show
Hi all, I have a laptop with Window 11 as OS and gonna install Qt (c++ )on it for development. Would there be a big deal ? I came across this blog: https://www.qt.io/blog/qt-6.2-and-windows-11 and it seems good to go. But before that, I wanna hear some user experiences from community here about Qt c++ development on window 11. Thanks
IvanHi all, I have a laptop with Window 11 as OS and gonna install Qt (c++ )on it for development. Would there be a big deal ? I came across this blog: https://www.qt.io/blog/qt-6.2-and-windows-11 and it seems good to go. But before that, I wanna hear some user experiences from community here about Qt
AFAIK this is a Qt for Python group, so you might not find a ton of folks here familiar with Qt in C++. I'm double-useless to you, since I'm not only a Python developer (with no especially useful knowledge of C++) but also I haven't touched Windows in well over a decade (Win7 was my last Windows). I do everything on Linux these days.
Just guessing, but I suspect there should be no real problems doing Qt6.2/C++ on Windows 11. As long as you know what you're doing re; both C++ and Qt6, it should be fine. I know I've had nothin' but good luck with Qt6 overall thus far on Linux, and it can't be much different on Windows I presume. Qt is designed to be cross-platform after all.
IvanHi all, I have a laptop with Window 11 as OS and gonna install Qt (c++ )on it for development. Would there be a big deal ? I came across this blog: https://www.qt.io/blog/qt-6.2-and-windows-11 and it seems good to go. But before that, I wanna hear some user experiences from community here about Qt
You shouldn't have any issues. Just install Qt from qt.io, and follow the docs.
Even building Qt from sources isn't too difficult, if you wanted to do that. The Qt docs are quite good.
Beyond that, this isn't the place to ask or answer Qt C++ questions, but if you can boil whatever problems you're having with Qt into a Qt for Python example, we might be able to help.
NoneN1Hi guys, I wanted to ask if you know how I can solve this problem:
Since yesterday evening I can no longer change the size of any window/widget via QtDesigner. I don't understand how it is possible. Before this problem I changed the QtDesigner font with a personal one via preferences window.
Think
SOLVED: is a known bug in PySide6 version 6.7.2. Fixed the problem by installing version 6.7.0
Bloo AlienAFAIK this is a Qt for Python group, so you might not find a ton of folks here familiar with Qt in C++. I'm double-useless to you, since I'm not only a Python developer (with no especially useful knowledge of C++) but also I haven't touched Windows in well over a decade (Win7 was my last Windows).
@Keithel Hi both, thanks for the sharing and confirmation. I would try on that. Thanks.
Okay noted here is only for Qt for python questions. 👌
11 June 2024
id 938397864Hello Everyone, Im just starting with qt, and I want to ask you if have any recomendation for developing desktop app (fullstack) with Python Qt, everything works books, tutorials, documentation?
I would greatly appreciate your help
Hey Alejandro 👋
Good question, in the past some people have shared resources, but I don't have anything from the top of my head that I have tried.
I know this might not be the most optimal recommendation, but I like the documentation of projects to learn things, so you can check https://doc.qt.io/qtforpython and scroll through the examples or tutorials sections.
There are a few people doing tutorials online and books, but I haven't tried them, but I do know however that Martin's book is popular https://martinfitzpatrick.com/b/pyside6-book but I haven't read it, so I cannot truly recommend it.
If you feel there is a crucial missing example or tutorial in the official documentation, please let us know, so we can try to work on it.
Ссылка
click to show
click to show
and if you want a global overview including package details, licences, tooling ,etc you can go through https://qtinfo.dev/qtforpython/
Ссылка
click to show
click to show
Also if videos are you thing, we have a section with a few ones from past events: https://doc.qt.io/qtforpython-6/videos.html
I'd say the docs https://doc.qt.io/qtforpython
because the public wiki https://pyside.org might scare people that's not used to wikis
and the Product landing page https://qt.io/qt-for-python is terrible so not worth it.
12 June 2024
13 June 2024
Ссылка
click to show
click to show
I have made this patch which works in CI on all platforms. https://codereview.qt-project.org/c/pyside/pyside-setup/+/566902
19 June 2024
26 June 2024
I recently updated a Cython-based python package I maintain and it's now crashing, but only if it's imported after PySide. See the following reproduction steps:
$ pip install PySide6==6.7.2 nod==1.9.3
$ python -X dev -c "import PySide6; import nod; nod.open_disc_from_image('anything')"
Windows fatal exception: access violation
Current thread 0x0000973c (most recent call first):
File "<string>", line 1 in <module>
$ python -X dev -c "import nod; import PySide6; nod.open_disc_from_image('anything')"
RuntimeError: Unable to open 'anything'
The only code difference in my package is one line of code, but there's a big cibuildwheel version upgrade. Does anyone have any suggestions on what exactly is going on?