Top "Qtquickcontrols2" questions

For questions regarding code that uses the Qt Quick Controls 2 module.

QML button change text color

I'm new in QML and i want to personalize my buttons. I succeed to change the background's color and border …

qt qml qtquick2 qtquickcontrols2
Qt Quick Controls 2 and TableView

Is it OK to use TableView in Quick Controls 2.0 application? This will require to have both imports: import QtQuick.Controls 1.4 …

qt qml qtquickcontrols qtquickcontrols2
Material theme doesn't seem to work in QML

I have a simple QML with an ApplicationWindow, RowLayout and a bunch of Buttons inside. I have applied the Qt …

qt themes qml qtquickcontrols2
How to change the background color of a QML Button Qt Quick Controls 2?

I just want to change the background color of QML buttons but it seems there are no simple way. Can …

qt qml qtquickcontrols2
import QtQuick.Controls 2.0 not working - QQmlApplicationEngine failed to load component

I have an app that its project generated using CMake in Qt5.7, so when import QtQuick.Controls 2.0 application failed to …

qt qtquick2 qt-quick qtquickcontrols qtquickcontrols2
How do I apply the style to a TextField in QML? It seems "style" attribute isn't available

I am trying to apply some styles to a new qt 5.7 application I am working on and the following is …

qt qml qtquick2 qtquickcontrols2
Qml QtQuick2 'Invalid property name "style"(M16)'

I'm writing a mobile application in Qt5.7.0 QtCreator 4.1 and i'm getting the error in QtQuick qml file 'Invalid property name "…

qt qml qt-creator qtquick2 qtquickcontrols2
eglfs on raspberry2 -- * failed to add service - already in use?

that's is my first post here. I'd like to keep it short... Following problem: i want to run a qt5/…

qt5 raspberry-pi2 qtquickcontrols2 archlinux-arm eglfs
How to center dialog on screen in QtQuick Controls 2?

All my dialogs appear on the top left corner of screen instead of the center. What is the best way …

qt qml qt5 qtquick2 qtquickcontrols2
How to solve module ""QtQuick.Controls" version 2.0 is not installed" on mac

I've been getting the error "module "QtQuick.Controls" version 2.0 is not installed" on Qt Creator 5.6.13, so i upgraded to 5.11.2 and …

qml qt-creator qtquickcontrols2