86,397 questions
0
votes
0
answers
70
views
Thin Font Rendering Flutter [closed]
I recently decided to move my QML/Qt app into using Flutter. My app uses the Segoe UI font, and while it displays as I'd like in the Qt app in the Flutter app it is much thinner. I don't have any font ...
Best practices
1
vote
1
replies
52
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....
2
votes
1
answer
74
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 ...
1
vote
0
answers
61
views
OpenCV-Python with PyQt5: Qt platform plugin "xcb" error and cv2.imshow not working on Linux
I'm trying to use OpenCV with PyQt5 on Linux, but encountering Qt compatibility issues. When I install opencv-python, I get Qt platform plugin errors that prevent the application from starting. When I ...
1
vote
0
answers
56
views
QComboBox popup not visible when placed in an overlay over QVTKOpenGLNativeWidget in fullscreen on Windows
I'm embedding a VTK rendering widget inside a Qt 6 app using QVTKOpenGLNativeWidget.
The window contains a QVTKOpenGLNativeWidget used for 3D rendering, wrapped inside a QFrame.
On top of it, a ...
0
votes
0
answers
36
views
Halcon Roi drawing mode cant be terminated
when i try to use halcon api drawing roi in qt,i must use left click to end drawing.If i directly close the viewer of drawing roi,the whole program gonna be forzened,cause the drawing isnt ended.I ...
1
vote
0
answers
39
views
Extra "pyside" and "qt" in SRC_URI
I'm getting some strange behavior in my Yocto build of PySide6. I've cloned the meta-qt6 layer (release 6.8) and I want to install PySide6. I found that I was getting a bunch of do_fetch errors ...
0
votes
0
answers
78
views
How do I use Openssl 3 with Qt 5.15.19?
I have an application that still uses Openssl 1.1.1w. I need to update that to an OpenSsl 3 version. Switching to Qt6 seems like the best way to do that, however due to the nature of the codebase we ...
0
votes
0
answers
74
views
Problem running and testing the application in squish
I have recently started using Squish for an application I made with Qt.
After installing it I was able to run some tests on the application, but now I am getting an error as shown below:
The Runner/...
1
vote
0
answers
48
views
QPalette.ColorRole.ButtonText not updating on hover and checked [duplicate]
In my paintEvent for QPushButton I am getting the current text color, whether the button is disabled, hovered, checked, or static. This works for disabled but when the button is hovered or checked, it'...
1
vote
1
answer
113
views
How to remove the black line style from QDockWidget? [duplicate]
I have integrated QDockWidget windows in QMainWindow, but there is a thin black line (only 1px) under the TabBar. This line appears to be the color of the background. However, I have tried modifying ...
0
votes
0
answers
45
views
Gstreamer Qt6 Mutlimedia Video stops 3 secs before end
I am working with Qt 6.8 (QtWidgets) on an embedded Linux/Yocto device. I want to play a video in my application. It should be possible to play, pause, seek 5 sec forward, seek 5 sec backward and load ...
0
votes
0
answers
80
views
Qt 5.15 => 6.10: QML with WebView in the widget app shows empty field instead of web page on Android
I'm developing a mobile app for Android using widgets. One of my app's forms needs to display a web page. I'm using QML with WebView for this (QQuickWidget on the form widget, which displays a QML ...
1
vote
0
answers
63
views
Why does my PySide6 DBUS ScreenSaver Signal-Listener not work?
I am currently trying to connect to the Screensaver Signal (org.freedesktop.ScreenSaver - /ScreenSaver - ActiveChanged(bool)) that is emitted when the Screen-Saver is closed:
$ dbus-monitor "...
0
votes
0
answers
97
views
Unsubscribe from topic not working when using persistent session Mqtt
I have a Qt application that uses the qtmqtt module to implement a simple MQTT setup.
I’m running two instances — one as a subscriber and one as a publisher.
In the app, users can right-click on any ...
0
votes
0
answers
112
views
How to move the title section of a UI window off screen using QT?
I am building my app with QT5.9 on Linux. I do not want Xserver to add a fixed style system title to my dialog like below (title underlined in red below),
Because of this, I wrote my own Dialog Class,...
0
votes
0
answers
98
views
How to use CuteKeyboard (Free virtual keyboard) in Qt 6.8
I want to use the following Virtual Keyboard library in a Qt QML application.
https://github.com/amarula/cutekeyboard/
The plugin and application builds successfully, but when I start the application ...
0
votes
0
answers
101
views
C++ QT: How to cross compile QT5/6 CMake project?
I am trying to cross compile a QT project, that utilises CMake from from linux. From this thread I found out about MXE. I compiled the following packages:
qtbase
qt6
qt5
However running <mxe root&...
3
votes
1
answer
212
views
Deleting nullptr before creating the object in Qt code
I'm exploring OpenGL with Qt6, and I came across some of their examples. The thing that draws my attention from a C++ perspective is the following piece of code.
delete m_program; // <-- is this ...
2
votes
1
answer
83
views
Building Qt6 WebAssembly GUI with Emscripten fails because of missing GLESv2/EGL
I am trying to build a Qt6 GUI project for WebAssembly using Emscripten.
I managed to build the project successfully with nlohmann_json and spdlog.
Now I also want to add the cpr library to use an ...
0
votes
1
answer
53
views
Qt GammaRay - how to find QML singleton value?
Windows 10, GammaRay v3.3, Qt 6.9, llvm_mingw
I've created module with QML files (using qt_add_qml_module). One of those file is Config.qml singleton component. This component is used by many ...
1
vote
1
answer
118
views
Qt mouse area doesn’t act correctly
I'm trying to create an area where a button appears when you enter it.
The first approach fails: the button becomes visible, but it then blocks the MouseArea, which triggers onExited when hovered over....
0
votes
0
answers
57
views
Qt isn't detecting MSVC compiler while installation
My Qt isn't able to detect MSVC 2022 compiler only showing MINGW compiler in installation. I have Visual Studio with MSVC 2022 Latest and have all the necessary configuration like software ...
2
votes
1
answer
106
views
Qt Quick QML: SafeArea not working on Android devices
I am trying to create a Qt Quick mobile application using SafeArea to restrict the location of contents on the screen. It works well on desktop, but when I run it on my mobile device the margins ...
1
vote
3
answers
163
views
How to limit QComboBox popup height without showing scrollbars or arrow indicators?
I am customizing a QComboBox in Qt (C++). I want to limit the maximum height of the popup list, but still allow scrolling when there are many items.
However, I don’t want the scrollbars to be visible ...