mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

11K
active users

#qtquick

1 post1 participant0 posts today
onion<p>Making a bit of progress already, <a href="https://mastodon.tal.org/tags/visca" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>visca</span></a> <a href="https://mastodon.tal.org/tags/camera" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>camera</span></a> responds to commands.<br>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 <a href="https://mastodon.tal.org/tags/qtquick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtquick</span></a> friendly)</p>
Drew Naylor<p>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.</p><p><a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a></p>
Drew Naylor<p>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.</p><p><a href="https://code.qt.io/cgit/qt/qtquickcontrols.git/tree/src/controls/Styles/WinRT?h=5.8" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">code.qt.io/cgit/qt/qtquickcont</span><span class="invisible">rols.git/tree/src/controls/Styles/WinRT?h=5.8</span></a></p><p><a href="https://mastodon.online/tags/WindowsPhone" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WindowsPhone</span></a> <a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a></p>
KDAB<p>Stay up to date with <a href="https://techhub.social/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a> - "Effective Modern QML" at the KDAB Training Day (8 May) covers among other topics new language features, QML compilers, <a href="https://techhub.social/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> Controls, and tools for writing more expressive, performant code. Early bird tickets: <a href="https://training.kdab.com/ktd25/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">training.kdab.com/ktd25/</span><span class="invisible"></span></a> <a href="https://techhub.social/tags/QtDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtDev</span></a></p>
dorotaC<p><a href="https://fosstodon.org/tags/Qt6" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt6</span></a> is in. I should probably upgrade.<br>But <a href="https://fosstodon.org/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> Controls 1 is gone. 2.x sucks: it doesn't pick up my theme, the widgets work different and the differences feel like the <a href="https://fosstodon.org/tags/desktop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>desktop</span></a> side was an afterthought.</p><p>What should I upgrade to? Is <a href="https://fosstodon.org/tags/Kirigami" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kirigami</span></a> providing honest desktop widgets?</p><p><a href="https://fosstodon.org/tags/AskFedi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AskFedi</span></a> <a href="https://fosstodon.org/tags/kde" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kde</span></a></p>
Drew Naylor<p>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.</p><p><a href="https://mastodon.online/tags/Kirigami" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kirigami</span></a> <a href="https://mastodon.online/tags/MauiKit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MauiKit</span></a> <a href="https://mastodon.online/tags/PinePhone" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PinePhone</span></a> <a href="https://mastodon.online/tags/MobileLinux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MobileLinux</span></a> <a href="https://mastodon.online/tags/LinuxMobile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LinuxMobile</span></a> <a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a></p>
onion<p>QMetaObject::invokeMethod() was giving serious headache, as I need to be able to invoke arbitrary methods (export from <a href="https://mastodon.tal.org/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> into C++ and then to <a href="https://mastodon.tal.org/tags/lua" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lua</span></a>) with any type combo as argument. Finally figured out what the problem was. <a href="https://mastodon.tal.org/tags/qtdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtdev</span></a></p>
Anders Lund<p>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 <a href="https://expressional.social/tags/kirigami" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kirigami</span></a> wizzards :\<br>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 <a href="https://expressional.social/tags/qtquick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtquick</span></a>, <a href="https://expressional.social/tags/qml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qml</span></a> at kirigami at some point ...</p><p><a href="https://expressional.social/tags/qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qt</span></a> <a href="https://expressional.social/tags/kde" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kde</span></a> <a href="https://expressional.social/tags/plasma" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>plasma</span></a> <a href="https://expressional.social/tags/plasmamobile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>plasmamobile</span></a> <a href="https://expressional.social/tags/pumoku" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pumoku</span></a> <a href="https://expressional.social/tags/sudoku" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sudoku</span></a></p>
Drew Naylor<p>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.</p><p><a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> <a href="https://mastodon.online/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a></p>
onion<p>Helps to actually implement property change signals. No wonder nothing worked.<br><a href="https://mastodon.tal.org/tags/qtdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtdev</span></a> <a href="https://mastodon.tal.org/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a></p>
onion<p>Brain is not braining. <a href="https://mastodon.tal.org/tags/qtquick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtquick</span></a> <a href="https://mastodon.tal.org/tags/cpp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cpp</span></a></p>
Drew Naylor<p>Finally got Qt to accept JSON in QML. If you're trying to do the same thing, this may help:</p><p><a href="https://stackoverflow.com/questions/44567345/serialization-qlistmyobject-to-json/44571129#44571129" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/44</span><span class="invisible">567345/serialization-qlistmyobject-to-json/44571129#44571129</span></a></p><p><a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> <a href="https://mastodon.online/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a> <a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
Drew Naylor<p>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:</p><p><a href="https://doc.qt.io/qt-6/qmllint-warnings-and-errors-duplicate-property-binding.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">doc.qt.io/qt-6/qmllint-warning</span><span class="invisible">s-and-errors-duplicate-property-binding.html</span></a></p><p><a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> <a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a></p>
Drew Naylor<p>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.</p><p>import "file:./RetiledStyles" as RetiledStyles</p><p><a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> <a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
Drew Naylor<p>Why is it so hard to make a custom <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> 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?</p><p><a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a> <a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
Drew Naylor<p>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.</p><p><a href="https://codeberg.org/DrewNaylor/layer-shell-qt-updatedqmldemo/src/branch/master/tests/mainex.cpp" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/DrewNaylor/layer-</span><span class="invisible">shell-qt-updatedqmldemo/src/branch/master/tests/mainex.cpp</span></a></p><p><a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> <a href="https://mastodon.online/tags/Wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> <a href="https://mastodon.online/tags/LayerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LayerShell</span></a> <a href="https://mastodon.online/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a></p>
Christian Gudrian<p>It's surprisingly hard to implement a vector (i.e. <a href="https://social.tchncs.de/tags/SVG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SVG</span></a>) based graphical editor in <a href="https://social.tchncs.de/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a>, 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).</p>
Drew Naylor<p>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:</p><p><a href="https://codeberg.org/DrewNaylor/layer-shell-qt-updatedqmldemo/src/branch/master/tests/mainex.cpp" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/DrewNaylor/layer-</span><span class="invisible">shell-qt-updatedqmldemo/src/branch/master/tests/mainex.cpp</span></a></p><p><a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> <a href="https://mastodon.online/tags/QML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QML</span></a> <a href="https://mastodon.online/tags/Wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a></p>
Drew Naylor<p>Suddenly decided to work on splitting out the Tiles page so I can eventually make a plasmoid for <a href="https://mastodon.online/tags/RetiledStart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RetiledStart</span></a> . Right now the main window should work still, but the plasmoid isn't ready yet. I did some testing for how I'd make a plasmoid with RetiledStyles, and at first the settings will need to be hard-coded until I can figure out how to do C++ plasmoids, or preferably <a href="https://mastodon.online/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> with CXX-Qt.<br>1/3</p><p><a href="https://mastodon.online/tags/Retiled" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Retiled</span></a> <a href="https://mastodon.online/tags/KDE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KDE</span></a> <a href="https://mastodon.online/tags/KDEPlasma" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KDEPlasma</span></a> <a href="https://mastodon.online/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.online/tags/CXXQt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CXXQt</span></a> <a href="https://mastodon.online/tags/QtQuick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QtQuick</span></a> (it's what I use) <a href="https://mastodon.online/tags/Qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Qt</span></a> <a href="https://mastodon.online/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> <a href="https://mastodon.online/tags/CPlusPlus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CPlusPlus</span></a></p>
onion<p>Damn, that is a lot of code lines, didn't know I'm that productive.<br>"PageMain.qml:796898576: ReferenceError"</p><p><a href="https://mastodon.tal.org/tags/qtquick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtquick</span></a> <a href="https://mastodon.tal.org/tags/qt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qt</span></a> <a href="https://mastodon.tal.org/tags/qtdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qtdev</span></a></p>