Text not visible in some QML components in the Android emulator
-
When I run a very simple app in the Android x86_64 emulator, texts in
TextField
andComboBox
are not visible on screen.The screenshots shows the emulator left and a screenshot from my Nokia XR20 right, running the same app, deployed from QT Creator.
I have tested with Qt 6.7 and 6.8.0-beta1, various emulated phones (x86_64) and two different machines, one with an AMD CPU and display card, and one with an Intel CPU and integrated graphics. Both running kubuntu.
The test-app is like this:
import QtQuick import QtQuick.Controls import QtQuick.Layouts Window { width: 640 height: 480 visible: true title: qsTr("Hello World") ColumnLayout { anchors.fill: parent anchors.margins: 20 spacing: 10 Label { text: "Label text" } TextField { Layout.preferredWidth: 100 placeholderText: "Enter text" text: "Some text" } ComboBox { Layout.preferredWidth: 100 model: ["Option 1", "Option 2", "Option 3"] } Item { Layout.fillHeight: true } } }
-
Found that I had this problem with TextField too. TextInput shows, however
-
I've been noticing the same and has been driving me crazy. Currently found TextField and ComboBox affected.
Doesn't matter how simple the code or even if the colour is set for the text,it will never show unless highlighted.
Been using 6.4 and 6.5
-
This post is deleted!