Qt Quick doesn't technically drop frames - but it can render them later than expected. This blog covers a practical C++ technique to measure when a QQuickItem actually becomes visible and quantify delays using the Qt scene graph lifecycle.

https://www.kdab.com/how-long-does-it-take-for-an-item-to-become-visible/

#QtDev #QML #CPlusPlus #Performance #Profiling

🚀 KDAB’s May 2026 newsletter is out!

This month’s highlights include:
@oxidize in Berlin - the applied Rust conference
• A 3-part interview with Nicolai Josuttis on the evolution of #Cpp
• A new approach to singleton controllers in declarative #QML
• Practical #CLion tips for Qt developers #QtDev
• Upcoming training courses and industry events

🔗 https://www.kdab.com/newsletter/may-2026-newsletter-oxidize-2026-c-interview-with-nicolai-josuttis-qml-singleton-controllers-clion-tips-training-events-more/

May 2026 Newsletter: Oxidize 2026, C++ Interview with Nicolai Josuttis, QML Singleton Controllers, CLion Tips, Training, Events & More | KDAB

KDAB

Struggling with #QML performance, hard-to-reproduce bugs, or profiling bottlenecks on Linux? KDAB has upcoming training courses covering advanced QML architecture and C++/Qt #debugging and #profiling on #Linux.

Training schedule: https://training.kdab.com/scheduled-training/

#QtDev #CPlusPlus

Why the fuck is darkgray lighter than gray in qml ? Is it a JS thing ??

#qml #js #APIBullshit

Every team learns differently — that’s why KDAB’s in-company #training programs are built around your goals. Customize the curriculum, schedule, and location to fit your needs. Explore topics like #QtDev, #Cpp, #QML, #3D, #Debugging, and more.

Learn more: https://training.kdab.com/in-company-training/
https://training.kdab.com/in-company-training/

In-Company Training | KDAB

Improve the programming skills of your developer team at your preferred location with a custom-tailored training course. In-company training offers a lower cost-per-student as it eliminates travel cost and reduces time away from the office.

KDAB

Как правильно управлять диалогами в QML: Singleton + JavaScript Promise

Уже не первый раз сталкиваюсь в проектах на Qt QML с проблемой управления диалогами и всплывающими окнами. QML — декларативный язык и это здорово! Мы описываем, что хотим видеть на экране, и, если всё сделали правильно, при запуске программы получаем желаемый результат. Но иногда хочется динамики — и именно с диалогами начинаются проблемы, которые все решают по-разному. Кто-то продолжает так же декларативно описывать диалог для очередного экрана приложения. Да, так можно поступить, но у этого подхода есть несколько проблем. Первая — код начинает разрастаться. Даже если вынести диалог в отдельный компонент, его всё равно придётся «тюнить» каждый раз перед отображением, что не очень удобно. Вторая проблема, как по мне, куда хуже — при создании экрана в приложении будут созданы и все дочерние элементы. То есть диалог может потреблять память, хотя по факту пользователь может так им и не воспользоваться. Другой вариант, который тоже часто встречается — это обёртка диалога в Component и его непосредственное создание в нужный момент. С точки зрения потребления памяти это уже лучше, но проблему лишнего кода это не решает. Зачастую из-за подготовки такого диалога кода может оказаться даже больше. К тому же нужно не забывать вызывать destroy() для всех динамически созданных объектов, когда они больше не нужны. Всё становится ещё хуже, если один и тот же диалог нужен в нескольких местах. В большинстве случаев люди либо не парятся, либо им просто некогда — и в итоге мы видим обычную копипасту тут и там.

https://habr.com/ru/articles/1032896/

#Qt #QML #диалоги #Singleton #JavaScript_Promise #QtQuickControls #Dialog #динамические_компоненты #createObject #управление_памятью

Как правильно управлять диалогами в QML: Singleton + JavaScript Promise

Почему управление диалогами в QML почти всегда сделано плохо Уже не первый раз сталкиваюсь в проектах на Qt QML с проблемой управления диалогами и всплывающими окнами. QML — декларативный язык и это...

Хабр

Qt 6.12 introduces a new way to provide QML controller objects using externally supplied singleton instances.

With QQmlEngine::setExternalSingletonInstance, declarative QML registration can now use application-provided singleton instances while preserving tooling and optimization benefits.

Read more: https://www.kdab.com/singleton-controllers-in-times-of-declarative-qml/

#QtDev #QML #Qt6 #SoftwareDevelopment

If your work touches Qt, C++, Rust, or embedded Linux, our monthly newsletter might be worth following - technical publications, events, and what's moving across the ecosystem, once a month: https://www.kdab.com/newsletter/

#QtDev #Cpp #RustLang #Embedded #CPlusPlus #Linux #QML

@nyc

That's what autonomous AI #agents are...
...discorporated drones

Nice find with #QML
Big pants corporate are already setting dates for #QuantumAoocalypse ~2030

KDAB offers technical training for software developers working with Qt/QML, Modern C++, 3D/OpenGL, Rust and more. With more than 20 years of experience in the field, training courses can be adapted to different team requirements and experience levels.

#QtDev #QML #Cpp #OpenGL #RustLang #3D #Debugging #Profiling

Full Portfolio:
https://training.kdab.com/portfolio/

KDAB's training offering for Qt, Modern C++, Rust and more | KDAB

Our portfolio for software developers offers training courses in a range of programming technologies and tools, including the latest developments in Qt/QML, Modern C++, OpenGL, Debugging and Profiling, CMake and more...

KDAB