924 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
104
views
Anchor to parent from inside a delegate
I have this simple ListView with a delegate in which I use a Rectangle as root item. I simply want to anchor the Rectangle to the parent's left edge.
ListView {
id: taskListView
anchors.fill: ...
0
votes
0
answers
105
views
PySide6 QOpenGLWidget flickers even with minimal example inside a layout
I am experiencing flickering when using QOpenGLWidget with PySide6, even with a minimal setup.
Environment:
PySide6 (tested with 6.5/6.6)
Python 3.x
OS: Linux/Windows (happens on multiple systems)
...
2
votes
1
answer
131
views
How to disable accessibility features in a Qt app?
The issue: You create an Android Qt C++ app. When the user has any accessibility features enabled, the app lags, it's so slow that it's unusable and finally crashes.
In the associated Android log you ...
4
votes
1
answer
166
views
How to intercept a markdown file and display as HTML?
As part of my application, I want to use QWebEngineView to display the contents of a local markdown file as an HTML page. Local files will end in '.md'.
In Qt version 6.9 I wrote the following code to ...
1
vote
1
answer
69
views
Failed to load old Qt project Target "Qt6::QmlIntegration" not found
I recently got a new PC and tried to load up an old Qt project that I was playing around with a while ago but have not managed to build it properly.. Starting to think upgrading to Qt6.10 would be ...
1
vote
1
answer
77
views
Qt6 Android - How to build multi ABI APK or AAB?
I’m trying to create a multi-ABI Android APK using Qt6.10 with no success.
Some info:
When I build the APK for arm64 my app works fine in arm64 devices.
=> Kit used: "Qt 6.10.1 for Android arm64-...
0
votes
0
answers
29
views
QtQuick.Core module not found
I installed Qt 6.10.1 via online installer (Ubuntu 24).
I try to import QtQuick.Core module and the IDE says module not found.
According to my research, the Core directory has to be placed inside this ...
5
votes
2
answers
143
views
Qt mouseMoveEvent does not work with QColumnView
I have a QColumnView with a QFileSystemModel attached to it, and I am trying to get information on what file is being hovered over in that model view.
I do have mouse tracking enabled, however it ...
1
vote
0
answers
87
views
An error occurred when registering a C++ class using QML_ELEMENT: QQmlApplicationEngine failed to load component
I wrote a simple example while learning QML and CMake. The main purpose is to demonstrate how to use `qt_add_qml_module` and how to register C++ classes in QML.
the key code is as follows:
**//...
0
votes
1
answer
62
views
Yocto Qt Toolchain Generation for STM32MP1
Hardware context :
stm32mp157f-dk2 eval board
Software context :
Ubuntu 22.04.5 LTS
Yocto Release 5.0 LTS Scarthgap
Layers :
- poky
- meta-openembedded
- meta-qt6
- meta-st-stm32mp
...
Best practices
2
votes
1
replies
104
views
Issue with TextField and TextInput Keyboard on Android in Qt 6.10.0
when user tap on a TextInput or TextField, the Android keyboard opens, but typing doesn’t insert any characters into the input field. They can only delete existing text, and new text cannot be entered....
4
votes
1
answer
85
views
Declare nested QML enum
I have a nested Item where I want to declare an enum. How can I access the enum from the parent Item? I dont want to declare the enum in the outer Item, because it belongs to the nested/inner Item. I ...
2
votes
1
answer
95
views
TextInput on SpinBox with custom inputMask
I have a SpinBox with a custom TextInput as contentItem. I want it to display a quantity, so it want to display something like "10 / 20 pc." for example. The minimum value is always 1, the ...
4
votes
1
answer
131
views
Property binding strange behavior with QSettings
Update below
I have a strange behavior with a property binding in my application. When toggling the expanded property of my layout, the ColumnLayout is not resizing, and the space of the button "...
1
vote
0
answers
143
views
Vs code with Qt6, ERROR qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "C:\tools\vcpkg\installed\x64-windows\Qt6\plugins\platforms"
I am new in C++ and Qt, I want to develop a simple app to practice C++. I am developing this simple app on VS Code using Qt6. Any time I try to run a simple code like the below one, this error message ...