#qtquick

Jure Repinc :linux: :kde:JRepin@mstdn.io
2025-04-23

Yay, finally all the pieces have come together and I have finally been able to compile Qt 6.9 and @kde Plasma development version (what is to be released as 6.4 in June) for my @bananapi BPI-F3, a RISC-V single-board (mini) computer. Plasma does start and run, but looks like QML/QtQuick applications (which includes the desktop itself) have rendering problems 😞 Qt Widget apps render/run just fine. Now to figure out where the problem is…

#Linux #KDE #KDEPlasma #RISCV #RISC_V #Qt6 #QML #QtQuick

Screenshot of the development version of KDE Plasma 6.4 desktop runing on RISC-V mini SBC Banana Pi BPI-F3. Four windows are open: Konsole terminal emulator, Plasma Welcome, Dolphin file manager and Info Center showing system information. Also the application launcher menu is open. Desktop background is all white, panel and application launcher have no icons rendered, there is also almost no rendered content in Plasma Welcome window. Applications based on Qt Widgets render fine, those based on QML/QtQuick have rendering problems.
2025-04-02

Making a bit of progress already, #visca #camera responds to commands.
Documentation is a bit unclear in some details but those that has tackled this before, libvisca, helps. (Oh why reinvent you might ask? I need it to be #qtquick friendly)

Орест Смертнийforesle@wrong.city
2025-04-01

Я ж вникаю у Qt6 (PySide6, QML, Qt Quick). Пишу додаток про який згадував раніше в контексті обмежень у першій версії на Go. Пройшов найпершу, вхідну частину курсу про QML на Qt Academy. Як завжди курс був спрямований для новачків, що пояснював очевидні речі, але я повискубував важливі речі і намагаюся ліпити головний QML документ мого застосунку, опираючись на документацію. Складно писати на QML, бо давно проєктував щось на Qt чи Gtk. Інколи важко згадати, як називається той чи інший елемент інтерфейсу. Думаю спробувати зліпити потрібний інтерфейс у форматі UI в Qt Designer і вже потім знову спробувати написати QML документ враховуючи потрібні відступи і тому подібне без постійного вгадування та перевірки як воно виглядатиме, бо це займає багато часу. Тут як з HTML+CSS з часом вже підсвідомо розумієш, як воно виглядатиме та швидкість верстання значно зростає.

#Програмування #GoLang #Python #Qt #QML #PySide6 #QtQuick

2025-03-11

QtQuick for Qt6 is only now getting ContextMenu attached properties in 6.9. I'll see if I can use them, it might allow more optimization since it'll just be one context menu for all the All Apps list buttons.

#Qt #QtQuick

2025-02-26

Ok, don't get your hopes up because it's really disappointing, but I did some digging and found out Qt 5.8 had a really limited QtQuick Controls style for Windows Phone. All this is is just a thing that seems to redirect to the basic style, so like I said, disappointing. Same thing for the PC folder. The link goes to the folder for the Windows RT (the environment, not to be confused with Windows RT, the OS) styles.

code.qt.io/cgit/qt/qtquickcont

#WindowsPhone #Qt #QtQuick

2025-02-24

Stay up to date with #QML - "Effective Modern QML" at the KDAB Training Day (8 May) covers among other topics new language features, QML compilers, #QtQuick Controls, and tools for writing more expressive, performant code. Early bird tickets: training.kdab.com/ktd25/ #QtDev

2025-02-21

#Qt6 is in. I should probably upgrade.
But #QtQuick Controls 1 is gone. 2.x sucks: it doesn't pick up my theme, the widgets work different and the differences feel like the #desktop side was an afterthought.

What should I upgrade to? Is #Kirigami providing honest desktop widgets?

#AskFedi #kde

2025-02-03

I wish Kirigami and Maui (the Qt thing, not .NET) had better performance on the PinePhone. It just makes me sad when I use anything using either of those and it has choppy animations. And the thing is, I know it's not the hardware because QtQuick can do stuff with smooth animations on it, like my stuff, and I haven't fully optimized things as much as I can.

#Kirigami #MauiKit #PinePhone #MobileLinux #LinuxMobile #Qt #QtQuick

2025-02-02

QMetaObject::invokeMethod() was giving serious headache, as I need to be able to invoke arbitrary methods (export from #QtQuick into C++ and then to #lua) with any type combo as argument. Finally figured out what the problem was. #qtdev

2024-12-25

I designed this (I think) nice congratulation widget for PuMoKu. As you may guess, it is meant to pop up when a game is solved only. It will not obey though, for reasons I do not understand, as copied the code from the #kirigami wizzards :\
The idea is that it does not cover the board, so that you can have a look before moving on. Hopefully, I will get along with #qtquick, #qml at kirigami at some point ...

#qt #kde #plasma #plasmamobile #pumoku #sudoku

2024-11-28

Why doesn't Qt's Layout.alignment work for centering? It's never worked correctly for me and only anchors.align(whatever) works if I want something centered.

#programming #Qt #QtQuick #QML

2024-11-07

Helps to actually implement property change signals. No wonder nothing worked.
#qtdev #QtQuick

2024-11-07

Brain is not braining. #qtquick #cpp

2024-10-01

Finally got Qt to accept JSON in QML. If you're trying to do the same thing, this may help:

stackoverflow.com/questions/44

#Qt #QtQuick #QML #programming

2024-09-24

It would be nice if this talked about how to deal with this when you need to set things like axis.x and axis.y and animate both separately:

doc.qt.io/qt-6/qmllint-warning

#programming #QtQuick #Qt

2024-09-22

Ok, I figured something out that kinda works for now. This relies on directory imports and also having the style be located in the Qt QML imports directory (usually /usr/lib/qt6/qml/). I need to have the theme loaded and also need to have the icons be in a place that can be loaded. This might not do well on screen readers.

import "file:./RetiledStyles" as RetiledStyles

#Qt #QML #QtQuick #programming

2024-09-22

Why is it so hard to make a custom #QtQuick module and you can't just put it into /usr/lib/qt6/qml/ with a qmldir file listing the files in the folder and then import it in your QML file with that folder's name and just call it a day?

#Qt #QML #programming

2024-07-24

With that code I found earlier, I ported the old layer shell qt QML example to the new library properly. It's sadly AGPLv3 though, wish it could be less. If anyone has better replacement code that's not (A)GPL, I'll be grateful. I don't like the GPL due to its ties with the FSF and RMS so when I use it, there's no other choice.

codeberg.org/DrewNaylor/layer-

#programming #QtQuick #Wayland #LayerShell #QML

Christian Gudriancgudrian@social.tchncs.de
2024-07-23

It's surprisingly hard to implement a vector (i.e. #SVG) based graphical editor in #QtQuick, because the SVG is rasterized before scaling is applied which means zooming in results in blurred SVGs. Drawing everything by hand in a Canvas item (which wraps an ordinary HTML canvas) is cumbersome as is using the Shape item (new in Qt6).

2024-07-21

I tried to port the old QtLayerShell QML demo to layer-shell-qt because I couldn't find any recent QML examples using layer-shell-qt but it only builds and doesn't link. If you're curious, you can take a look here:

codeberg.org/DrewNaylor/layer-

#programming #Qt #QtQuick #QML #Wayland

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst