Qt app pinephone y android
Table of Contents
- 1. Qt app pinephone y android project
- 1.1. Hacer una app para el calendario
- 1.2. Hacer una app en Qt para Linux y Pinephone
- 1.3. Hacer una app que sustituya a orgzly
- 1.4. Apps para KDE Mobile y Android a la vez
- 1.4.1. Hacer una app con Kirigami+Python para org mode project someday_20230330
- 1.4.1.1. Malos enfoques
- 1.4.1.2. How to Create an App GUI with PyQt6
- 1.4.1.3. QtDD - Kirigami: convergence with Desktop as first-class
- 1.4.1.4. Cuidado con Qt6 y QML!
- 1.4.1.5. https://doc-snapshots.qt.io/qt6-dev/qtquick-tool-qmllint.html → herramienta de lint para QML
- 1.4.1.6. Why are so few applications programmed in Python Qt on KDE? : kde
- 1.4.1.7. https://qmlbook.github.io/
- 1.4.1.8. Ejemplos de apps
- 1.4.1.9. Watch “PyQt6 Course For Beginners [Python GUI Framework PyQt ]” on YouTube
- 1.4.1.10. Kirigami Tutorial Tour - Premiere Coding Session! - YouTube
- 1.4.2. PyQt6 vs PySide6: What’s the difference between the two Python Qt libraries? What should you use, and how to migrate
- 1.4.3. Testing
- 1.4.1. Hacer una app con Kirigami+Python para org mode project someday_20230330
- 1.5. Problemas de licencias con Qt y código cerrado / de pago
- 1.6. Watch “PyQt6 Course For Beginners [Python GUI Framework PyQt ]” on YouTube
- 1.7. Kirigami en Rust
1. Qt app pinephone y android project
1.1. Hacer una app para el calendario
https://play.google.com/store/apps/details?id=com.acadoid.calendar → del mismo estilo
1.2. Hacer una app en Qt para Linux y Pinephone
Que tenga:
- Pilla de todos los archivos de org mode
- Pilla del LOGBOOK
-—
1.2.1. Tutoriales
- Linux applications with Python and QML – dimitris.cc – Notes on technology and freedom
- Kirigami – Nico’s Blog
- https://blog.srev.in/posts/kde-apps-with-python/][KDE Apps with Python: Part 1"><b/og?>]]
1.3. Hacer una app que sustituya a orgzly
Muy ambicioso, tengo que aprender primero Qt
orx-mode
1.4. Apps para KDE Mobile y Android a la vez
https://nicolasfella.wordpress.com/2019/02/28/creating-a-plasma-mobile-app-1-basic-controls/
- https://laptrinhx.com/sebastian-kugler-plasma-components-on-android-accelerating-subsurface-mobile-development-756644242/ → pasaron una app de android a plasma en android
1.4.1. Hacer una app con Kirigami+Python para org mode project someday_20230330
1.4.1.1. Malos enfoques
pip install pyside2
sudo apt install qml-module-org-kde-kirigami2
1.4.1.2. How to Create an App GUI with PyQt6
1.4.1.3. QtDD - Kirigami: convergence with Desktop as first-class
Cómo usar Kirigami, para qué sirve…
Apps not content-creation oriented tend to look simpler, more spaced
- QWidget is only good on destkop. It’s old, CPU intensive (complex graphics), limits to grid, no exterior border effect
- QML hardware accelerated, easy to use UI, gorgeous, smooth animations, declarative (HTML, CSS style)
- QML feels imcomplete
Drag and drop, hacky for desktop (more mobile)
C++ API Very Limited
Smooth animation means slower startup, more memory usage - Kirigami: built on top of QML and QQCC
Plasma Mobile and Android (also Desktop)
Recommended for “light” apps, not content-creation apps like CAD, Word processors, presentation software… - Kirigami is about consistency
High level, both desktop and mobile
Force the app to be high level
QWidget for style rigidity: having some rigidity helps since QtQuick gives you too much design freedom
- Form Layout
- Icon
- Cards spherical/rounded rectangles
- Standard About Page
- Toolbars “actions” disconnexccted from the app
- Form Layout
1.4.1.4. Cuidado con Qt6 y QML!
https://www.pythonguis.com/faq/pyqt6-vs-pyside6/#namespaces-enums parece ser el equivalente en Python
1.4.1.5. https://doc-snapshots.qt.io/qt6-dev/qtquick-tool-qmllint.html → herramienta de lint para QML
1.4.1.6. Why are so few applications programmed in Python Qt on KDE? : kde
There are actually several ways to look native.
First, KDE has a style that uses native widgets: https://github.com/KDE/qqc2-desktop-style
Second, KDAB created QML bindings for QtWidgets: https://github.com/KDAB/DeclarativeWidgets
1.4.1.7. https://qmlbook.github.io/
1.4.1.8. Ejemplos de apps
- MyGNUHealth
- https://nicolasfella.wordpress.com/2019/02/20/creating-a-plasma-mobile-application/ → utiliza Kirigami
- https://github.com/KDE/calindori por ejemplo
- https://github.com/subsurface/subsurface por ejemplo
- KDE/kirigami-gallery: Kirigami component gallery application
Aplicación de ejemplo/demo para ver lo que se puede hacer (C++)
- https://invent.kde.org/maui/buho
Aplicación de tomar notas, multiplataforma
1.4.1.9. Watch “PyQt6 Course For Beginners [Python GUI Framework PyQt ]” on YouTube
1.4.2. PyQt6 vs PySide6: What’s the difference between the two Python Qt libraries? What should you use, and how to migrate
1.4.3. Testing
https://appium.io/ → Si las voy a hacer para escritorio/KDE Plasma/Android con Kirigami, me va a venir muy bien
1.5. Problemas de licencias con Qt y código cerrado / de pago
1.5.1. TSDgeos’ blog: The Qt Company is stopping Qt LTS releases. We (KDE) are going to be fine :)
1.5.2. Qt 5.15.3 LTS Released With 200+ Bug Fixes, But Only For Commercial Customers - Phoronix
https://www.phoronix.com/scan.php?page=news_item&px=Qt-5.15.3-LTS-Released
Discusión interesante en comentarios