Compile-Time vs Run-Time Styles? | Qt Quick Controls Styling #1
Автор: Qt Group
Загружено: 2026-03-06
Просмотров: 183
Описание:
Which style selection method is right for your Qt application? In this video, you'll learn the crucial difference between compile-time and run-time style selection in Qt Quick Controls, and discover four powerful ways to dynamically switch styles at runtime.
This video is part 1 of the "Qt Quick Controls Styling" series, for developers with basic Qt Quick and QML experience who want to elevate their applications' visual design and user experience.
🎓 Get the full learning experience by enrolling in the complete course at https://www.qt.io/academy/course-cata...
📚 What You'll Learn:
The difference between compile-time and run-time style selection
How to import specific styles at compile time with a simple import change
Using the QQuickStyle C++ API for highest-priority runtime selection
Setting styles via command-line arguments and environment variables
Configuring styles with qtquickcontrols2.conf configuration files
Understanding the priority system that determines which method takes precedence
🙋♂️ Meet the Experts!
This course was created by the Customer Success Engineers from Qt Group.
⏰ Timestamps:
0:00 Introduction
0:20 Compile-time style selection
1:16 Run-time style selection overview
1:43 QQuickStyle C++ API
2:59 Command-line arguments
4:03 Environment variables
5:17 Configuration file method
6:36 Outro
📖 Resources:
Code Repository: https://github.com/qt-learning/QtQuic...
Qt Documentation - Styling Qt Quick Controls: https://doc.qt.io/qt-6/qtquickcontrol...
Qt Documentation - QQuickStyle: https://doc.qt.io/qt-6/qquickstyle.html
🔗 Related Videos:
Next: Master Your UI Colors in QML | Qt Quick Controls Styling #2: • Master Your UI Colors in QML | Qt Quick Co...
Link to playlist: • Qt Quick Controls Styling
📱 Continue Learning:
Qt Academy: https://qt.io/academy
Forum: https://forum.qt.io
©️ Licensing Information:
For all the source code shown in the video, the licensing information is defined in the relevant project repository. If no license is explicitly stated in the repository or there is no project, and you want to use the code, reach out to the Qt Company. If you are interested in acquiring a commercial license for the codes, please reach out to The Qt Company Oy (https://www.qt.io/pricing). Any trademarks shown in the videos are the exclusive property of its owners and are not licensed in any way.
#Qt #Framework #QML #QtQuickControls #Styling #Material #Universal #Fusion #Tutorial #CrossPlatform
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: