Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

I have an issue: qrc:/qt/qml/MyApp/qml/MyApp/Main.qml:11:5: QML StackView: initialItem: qrc:/qml/pages/LoginPage.qml:-1 No such file or directory File tree Im strugling to see why it cannot find my ...
Ewald's user avatar
  • 1
Advice
0 votes
2 replies
53 views

If you're a hobbyist programmer like me, perhaps you have had need to build Qt6 from source so that you can include the proprietary codecs needed to play audio and video from web pages loaded through ...
Jeremy Wilson's user avatar
2 votes
0 answers
102 views

First of all, Qt version is 6.10.0, testing on Arch Linux rolling. I think I've found a bug in Qt but maybe it's just my fault. My program asks MariaDB database for some data and displays it in ...
Drobot Viktor's user avatar
5 votes
2 answers
113 views

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 ...
James Bell's user avatar
1 vote
0 answers
47 views

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: **//...
J.W. Jevn's user avatar
1 vote
0 answers
31 views

I already know that there are already a lot of questions abuot connecting signals from DBus to Qt. I've checked all of them and still I can't figure out what I'm doing wrong. I'm writing a simple ...
NoobNoob's user avatar
  • 114
0 votes
0 answers
25 views

in the past I was able to compile QT with EGLFS on Raspbian Buster. I don't remember exactly how I did it, but it uses FKMS driver. Back then full KMS was not supported on Pi 4. I read that these days,...
Aros's user avatar
  • 181
0 votes
0 answers
72 views

When using Qt and JKQtMathText to display LaTeX equations in a QLabel, I noticed a strange behaviour in the drawIntoPixmap() method. When the devicePixelRatio is set to one (the default value), the ...
user31926328's user avatar
Best practices
1 vote
1 replies
66 views

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....
Mohsen Kondori's user avatar
4 votes
1 answer
68 views

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 ...
Me3nTaL's user avatar
  • 505
2 votes
1 answer
82 views

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 ...
Me3nTaL's user avatar
  • 505
0 votes
0 answers
42 views

What I want to achieve: I have created a custom page right before ComponentSelectionPage. On this page the user have to provide a key for the installation. Depending on provided key the ...
Sergej Leus's user avatar
1 vote
0 answers
64 views

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 ...
Ai KHMJ's user avatar
  • 11
0 votes
0 answers
42 views

I have been customizing QGroundControl and have successfully built it for my Ubuntu system (x86_64 architecture) using Qt 6.8.3. I utilized the provided shell scripts and Dockerfiles located in the ...
user9262680's user avatar
1 vote
0 answers
59 views

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 ...
Dresult's user avatar
  • 313
-1 votes
1 answer
123 views

I'm trying to load images from my resources.qrc but it doesn't seem to work. For instance: cardVN1->setImage("://vn1.jpg");// The set image function is user-defined passing a QString ...
Ian Mwendwa's user avatar
0 votes
0 answers
42 views

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 ...
piercashuang's user avatar
1 vote
3 answers
141 views

I want to pass a QString into a lambda slot-function to modify it further. Unfortunately the QString goes out of scope before reaching the slot, so I cannot append text. How can I ensure that the ...
Me3nTaL's user avatar
  • 505
1 vote
0 answers
44 views

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 ...
Camstillo's user avatar
Advice
0 votes
3 replies
147 views

In my code, I useing draw line to draw model selection line and error edge line ,useing draw triangle to draw 3D model. Using the model's openmesh handle, edges are recorded and drawn. ...
asdbvvc's user avatar
  • 11
0 votes
0 answers
91 views

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 ...
UnrealSteve's user avatar
4 votes
1 answer
124 views

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 "...
Me3nTaL's user avatar
  • 505
0 votes
0 answers
81 views

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/...
Ali's user avatar
  • 5
1 vote
0 answers
116 views

Here's a piece of Qt code: int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QGuiApplication app2(argc, argv); The first constructor call returns, the second does not. I ...
Ivan's user avatar
  • 397
1 vote
0 answers
48 views

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'...
user17463321's user avatar
0 votes
0 answers
108 views

Using Qt 5 (specifically 5.15.18, but I doubt that matters). I'm getting a run-time type not registered error when connecting between threads, but only when the connection is Qt::AutoConnection AND ...
Ed K's user avatar
  • 424
1 vote
1 answer
117 views

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 ...
Caffrey's user avatar
  • 29
Best practices
1 vote
6 replies
225 views

I'm building a Qt wrapper for RtMidi. As starting point I created two separate classes QMidiOut and QMidiIn that wrap RtMidiOut and RtMidiIn. I don't want to duplicate code for the common methods (e.g....
NoobNoob's user avatar
  • 114
0 votes
0 answers
48 views

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 ...
ano's user avatar
  • 38
0 votes
0 answers
46 views

I have an Android-app written with Qt 5 where I can read NFC-chips. Additionaly I am using some native Java functionality for updating (installing .apk) my application via Javas native ...
Me3nTaL's user avatar
  • 505
0 votes
0 answers
84 views

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 ...
Armen Grigoryan's user avatar
2 votes
0 answers
66 views

This question is not a duplicate of undefined reference to `vtable for MainWindow'. As I have mentioned in the following I know how to solve the compile error but my question is how to solve the ...
Mohammad Rahimi's user avatar
1 vote
0 answers
63 views

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 "...
Gerrit Addiks's user avatar
1 vote
1 answer
143 views

When using Qt 5 and 6. The intent of QStringLiteral is to (effectively) place the QString object into read-only data space and avoid initialization overhead during startup (as described here). If I ...
Ed K's user avatar
  • 424
0 votes
0 answers
100 views

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 ...
Ali Ehyaie's user avatar
  • 1,334
0 votes
1 answer
107 views

I’ve been reading the MQTT documentation, and as I understand it, there are two types of Quality of Service (QoS) levels involved: Publisher QoS: determines the delivery guarantee between the ...
Ali Ehyaie's user avatar
  • 1,334
0 votes
0 answers
115 views

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,...
Ren Zhaofeng's user avatar
3 votes
1 answer
95 views

I have a ListView with SpinBoxes as delegates. I control the SpinBoxes to and value properties with a model-binding. This works fine. To display a formated text for my SpinBox I use the textFromValue ...
Me3nTaL's user avatar
  • 505
0 votes
0 answers
107 views

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 ...
user31684185's user avatar
2 votes
1 answer
94 views

I'm trying to hide UTF8 text inside RGB channels, inside a QImage, by splitting each byte into 4 bytes, into two unsigned integers, repeating until the end of the message, much like this layout: ...
edition's user avatar
  • 726
0 votes
0 answers
109 views

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&...
sat0sh1c's user avatar
5 votes
2 answers
158 views

I have a QList of a struct type and made a search-function to find a specific object of my struct by an id-property (QUuid or GUID). QList<MyStruct> m_items; bool MyClass::findById(QUuid id, ...
Me3nTaL's user avatar
  • 505
3 votes
1 answer
215 views

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 ...
CroCo's user avatar
  • 5,879
2 votes
0 answers
131 views

I am doing an app for a client and he wants to read data from .xlsx, .csv and .xls. For CSV files, I have already created a data parser, and for XLSX files, I had used QXlsx. With large files (>1M ...
Adrián Mon Maroto's user avatar
2 votes
1 answer
87 views

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 ...
Suslik's user avatar
  • 1,121
0 votes
0 answers
49 views

I'm trying to deploy my QML application to android_x86_64 using qt-cmake. I've installed all of the relevant packages from both the Debian package repositories and from the Qt Online Installer, ...
none2's user avatar
  • 35
0 votes
1 answer
58 views

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 ...
T4ng10r's user avatar
  • 829
1 vote
1 answer
97 views

As far as I know, they both do the same thing: create a QML element and place it in the hierarchy of QML elements. My question however, is: what benefit do you gain from using one over the other? ...
none2's user avatar
  • 35
1 vote
1 answer
120 views

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....
konstantin butakov's user avatar
2 votes
1 answer
86 views

I am trying to make the first image, look like the second image The goal to is to clip the green child rect to match the inside radius and edge bounds of the parent rect. Unfortunately, the clip ...
joe.arbo's user avatar

1
2 3 4 5
1728