Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
0 replies
21 views

When a QOpenGLWidget is actively rendering complex scenes (e.g., a video graphics engine) and a modal dialog (QFileDialog, QMessageBox, etc.) is opened, the widget displays a corrupted/dotted/sparse ...
sumit kang's user avatar
0 votes
0 answers
119 views

IDE USED: QT Creator 19.0.2 So I have been following this YouTube video on how to do inputs and outputs using QT, when I followed along and laid out the code, when I pressed run it should normally ...
DokkitheAstronaut's user avatar
0 votes
0 answers
122 views

I have inherited the 1st line below from Customplot for making a screenshot. It looks like qApp exists and is accessible, but both the pixmap and the screen are 'not accessible' according to my ...
katang's user avatar
  • 2,862
1 vote
1 answer
116 views

I have a component that contains some mouse interaction, that I disable as long as it is inactive in the context of my application. However, the MouseArea that is inside seems to still react to input. ...
T3 H40's user avatar
  • 3,063
1 vote
1 answer
143 views

With Qt5 and Qt6, I'm trying to handle the following signal: QDBusConnectionPrivate() got message (signal): QDBusMessage(type=Signal, service=":1.10", path="/ca/desrt/dconf/Writer/user&...
luigifab's user avatar
  • 365
Advice
0 votes
2 replies
109 views

I'm trying to create a simple code editor for an old custom programming language used by a single Company's product, as part of an effort to make some custom tools to avoid using the Company's ...
InfiniteNopes's user avatar
Advice
0 votes
1 replies
48 views

I have completed porting the Linux kernel on a custom board based on TI AM437x. The kernel version is 6.12.49, and I am using the TI Processor SDK. Now I am trying to develop an application using Qt (...
김우람's user avatar
0 votes
0 answers
58 views

Create the application according to the steps, and then when building and running, the following error occurs,use Windows 11 Qt Creator 19.0.0 Qt6.11.0 CMakeLists.txt file and Debugging and running ...
Tang's user avatar
  • 41
0 votes
1 answer
57 views

Like the title says. I have a python3 tool that uses the Qt6 libraries to display windows on my MacOS machine and I would like to use a different app icon. Everything I have found talks about ...
Martin's user avatar
  • 73
0 votes
0 answers
47 views

I have a very basic web browser in Qt6. When I go into e.g web pages such as https://youtube.com or https://play.geforcenow.com, I will get this message. js: requestStorageAccessFor: Permission denied....
euraad's user avatar
  • 2,907
1 vote
1 answer
63 views

I am trying to create a TableView in QML (Qt 6, Qt Quick Controls 2) that looks similar to the following layout: I have the following methods in my LatticeTableModel: QVariant LatticeTableModel::...
Suslik's user avatar
  • 1,141
0 votes
1 answer
62 views

I have two overlapping rectangles: The red one (higher z) has a DragHandler with dragThreshold: 0. The blue one (lower z) has a PointHandler. When I click the overlapped area, I expect only the red ...
Paul Masri-Stone's user avatar
2 votes
1 answer
99 views

I am migrating my application from Qt5 to Qt6 but it seems Qt.createQmlObject() does no longer work with inline components. I load QML from ZIP archives at run-time and I have C++ implementation of a ...
svlasov's user avatar
  • 10.7k
3 votes
0 answers
145 views

I have trouble with accessing cameras if my application is located on a share. When I run my application locally it shows the camera, but when the same application is run on a shared folder, the ...
vincent poortvliet's user avatar
1 vote
0 answers
69 views

A little background. I had been using Qt5.15 in conjunction with WebKit to do svg renderering to .png images in the past, and decided to update to Qt6. As part of this decision, I also wanted to get ...
Justin Engelking's user avatar
1 vote
1 answer
80 views

I'm trying to make a simplistic text editor (or notes-app clone), for desktop and Android. As a minimal reproducible example, I have a central widget, with a QVBoxLayout, that contains a QTextEdit. On ...
zyugyzarc's user avatar
3 votes
1 answer
141 views

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: ...
rodoso's user avatar
  • 368
0 votes
0 answers
192 views

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) ...
Yamil Adrián Sillero's user avatar
4 votes
1 answer
293 views

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 ...
Fivos Vilanakis's user avatar
4 votes
1 answer
247 views

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 ...
Ian Pickworth's user avatar
1 vote
1 answer
160 views

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 ...
Parko's user avatar
  • 35
2 votes
1 answer
172 views

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-...
Fivos Vilanakis's user avatar
0 votes
0 answers
37 views

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 ...
IvanH's user avatar
  • 39
4 votes
2 answers
160 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
122 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
0 votes
1 answer
100 views

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 ...
Volt's user avatar
  • 3
Best practices
2 votes
1 replies
135 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
100 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
  • 545
2 votes
1 answer
112 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
  • 545
5 votes
1 answer
142 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
  • 545
1 vote
0 answers
207 views

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 ...
Weverson Barbieri's user avatar
0 votes
0 answers
70 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
2 votes
1 answer
398 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
  • 434
0 votes
0 answers
168 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
0 answers
147 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
1 vote
0 answers
255 views

I'm trying to build Noteahead MIDI tracker (https://github.com/juzzlin/Noteahead) on Ubuntu 25.04 and getting a lot of CMake warnings like these: CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/...
juzzlin's user avatar
  • 48.9k
2 votes
1 answer
276 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
0 votes
0 answers
80 views

I currently have a CD/CI pipeline that tests my application by using Xvfb to start a framebuffer and xdotool to focus on the window and send a ctrl+q. My application is set to exit on ctrl+q: #!/...
djsumdog's user avatar
  • 2,848
0 votes
0 answers
189 views

I'm starting the first pet project with external library (Qt) and trying to use modules instead of traditional headers. I have Qt in my system (Linux) in .h/.cpp files all is fine. But in my .ixx ...
ProMike's user avatar
  • 195
1 vote
1 answer
73 views

I'm using Qt Quick (Qt 6.8) with a TableView and a HorizontalHeaderView. I’ve set up syncView so that the header and table should stay in sync: HorizontalHeaderView { id: header Layout....
Aleksey Kontsevich's user avatar
3 votes
1 answer
414 views

I am trying to build Qt 6.8.2 with g++ 15 and std standard c++23. This is my configuration command: $ export GCC_CC=/usr/bin/gcc-15 \ GCC_CXX=/usr/bin/g++-15 \ GCC_CFLAGS="-O2 -fPIC" ...
Jakob Simon-Gaarde's user avatar
1 vote
1 answer
246 views

I have a qdbusxml2cpp generated class, which is derived from QDBusAbstractAdaptor. When I change the content of a property, I would expect that either the PropertiesChanged signal is emitted or that I ...
Thilo Cestonaro's user avatar
1 vote
0 answers
89 views

When I set 'windowsvista' as the style, hovering over widgets causes them to flicker. See linked GIF for details: Flicker issue when hovering Here is the code to reproduce it in a stock standard fresh ...
Trist's user avatar
  • 9
0 votes
0 answers
28 views

I’m trying to build my Qt6 project for Android, but I’m running into linker errors related to undefined symbols. The same project builds fine on Windows, Linux, and macOS, but when targeting Android, ...
Yuki's user avatar
  • 13
0 votes
0 answers
52 views

I am creating my own delegate inheriting from QStyledItemDelegate because I want to create a custom delegate editor. In this delegate, I create a grid in which widgets are to be placed in the window – ...
happ's user avatar
  • 41
0 votes
0 answers
160 views

I'm connecting Tank IP Camera (IPC) API to my windows application with Qt C++. IPC uses basic authorization. I'm using QtNetwork library for HTTP client connection, Qt 6.8.3 with C++17. I tested the ...
Davronito's user avatar
3 votes
0 answers
70 views

I am trying to access a simple config file (Config.conf) from my Qt6 Android app. It was suggested I add: android { my_files.path = /assets my_files.files = $$PWD/etc/Config.conf INSTALLS += my_files }...
Stuart's user avatar
  • 51
0 votes
1 answer
157 views

I have a Python application. And I want to distribute as .exe file. It's quite small application. Here are all my deps: PyQt6==6.9.1 PyQt6-Qt6==6.9.1 PyQt6_sip==13.10.2 qt-material==2.17 pyinstaller==...
Maifee Ul Asad's user avatar
0 votes
0 answers
133 views

How do you set the encoding of a QTextStream to "EUC-JP" ? The setEncoding function uses this enum: class QStringConverter : public QStringConverterBase { public: #endif // Qt 6 compat for ...
Anon's user avatar
  • 2,532
0 votes
0 answers
130 views

Could not get anything to work apart from adding: getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON) To the QtActivity.java file onCreate method. Which does work. Not an elegant ...
Stuart's user avatar
  • 51

1
2 3 4 5
19