ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

386 members
V
Vsevolodtext not yet in the index
I figured it out a little bit, I realized that it was enough for me to just run through the python interpreter on my macbook in order to simply check if the app was working. But for windows, I need to build an application, for this I use github actions to build for windows. Now I have a question, is it OK for windows to build via pyside6-deploy, or is something else better? And if possible, can you please share workflow for building the application for github actions?
C
VsevolodI figured it out a little bit, I realized that it was enough for me to just run through the python interpreter on my macbook in order to simply check if the app was working. But for windows, I need to build an application, for this I use github actions to build for windows. Now I have a question,
pyside6-deploy is a wrapper around nuitka btw, in case you got a bit confused with the whole "use nuitka" promotion in the last messages :P We just take care of a few more things for application deployment like taking care of qml files, the resources, etc
V
name: build_windows_app on: [push, pull_request] jobs: build: runs-on: windows-latest steps: - name: Checkout repo uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v5 with: python-version: "3.13" - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Install Dependency Walker for Nuitka uses: onesoftqwq/[email protected] - name: Build exe run: pyside6-deploy --mode onefile --name my_app --force # run: pyside6-deploy --mode standalone --name my_app --force - name: Upload artifact uses: actions/upload-artifact@v4 with: name: app path: my_app.exe # name: app # path: my_app.dist/** retention-days: 1 Do you think I wrote well?
A
Nuitka at present does not support Python 3.14 but they are working on it. Some apps build, but others using other Python libraries won't.
We update nuitka little by little, we cannot be bleeding edge because we often discover some issues and report back to the nuitka people, and considering we release pyside every X months, it's always the case of being a bit behind. The latest version that we are working on is 4.0, but there are still some failing tests with that version.
keep in mind pyside is supported in many platforms/OSs so we need to take care everything is working the same, even for windows on arm, for example :D which is not so popular, but supported
A
If you do find a problem with Nuitka and macOS, I'd report it to the Nuitka maintainers. Otherwise issues won't get fixed.
@Slot(result=dict) def foo(self): logger.info("foo called") return {1: "x"}
the result can't convert corretly in qml
use return {“1”: "x"} it can convert
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog