Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
7 April 2020
The QML code that we've explored so far immediately creates all the elements that we've specified (images, text, etc.). This is fine for simple examples, but what about a complex, real-world application?
Would it make sense for it to create all the screens, the pages, the dialogs on startup? Probably not – it would consume tons of resources, and slow down the application startup considerably.
To tackle this problem, we need a way to create elements on demand. That's precisely what the Loader component does, which we will discuss in this video.
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Upgrade your applications from Qt 5 to Qt 6 with KDAB’s migration services. Get a free migration assessment and join a hands-on workshop to prepare your team for a successful transition!
Learn more