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.2.1. Tutoriales

1.3. Hacer una app que sustituya a orgzly

Muy ambicioso, tengo que aprender primero Qt

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
  • pip install pyside2
  • sudo apt install qml-module-org-kde-kirigami2
  1. Parece que tiene que instalarse todo sin entorno virtual

    sudo apt install "python3-pyside2.*"

  2. export QML2_IMPORT_PATH=/usr/lib/x86_64-linux-gnu/qt5/qml

    Parece que mejora algo así
    pip install pyside2==5.14.2 → Esta es la última que se distribuyó con KDE → hay que pasarse al 6!!

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
1.4.1.5. https://doc-snapshots.qt.io/qt6-dev/qtquick-tool-qmllint.html → herramienta de lint para QML
1.4.1.8. Ejemplos de apps
  1. MyGNUHealth
  2. https://nicolasfella.wordpress.com/2019/02/20/creating-a-plasma-mobile-application/ → utiliza Kirigami
  3. https://github.com/KDE/calindori por ejemplo
  4. https://github.com/subsurface/subsurface por ejemplo
  5. KDE/kirigami-gallery: Kirigami component gallery application

    Aplicación de ejemplo/demo para ver lo que se puede hacer (C++)

  6. 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

1.6. Watch “PyQt6 Course For Beginners [Python GUI Framework PyQt ]” on YouTube

Author: Julian Lopez Carballal

Created: 2024-09-15 Sun 04:03