Questions tagged [qt6.4.1]

11 questions
0
votes
0 answers

Render Html to Image Using Qt QWebEngine

I'm trying to render a HTML to Image without show on screen because this app will run in a linux console, but application always write e empty image. I'm using Qt 6.4. webviewrender.cpp #include "webviewrender.h" WebViewRender::WebViewRender() { …
0
votes
1 answer

QT 6.4.1 Use a SERIAL PORT in a subwindow

I wrote a small program to connect via Serial Port, send strings via LineEdit and receive the response in a TextBrowser. (for testing I use an Arduino which sends back all what it receives as an answer). I wrote the connection in a class that I…
0
votes
0 answers

How to place selected text from any windows OS application. Analog ctrl+c

The program runs in the background, minimized to the tray. When you press the global hotkey, a function is called that should output selected text to the console (from any windows OS application). I use QClipboard. I understand how to output to the…
0
votes
1 answer

Qt6 QML Treeview get the modelIndex of selected item

I have a working treemodel, called myModel (derived from QAbstractItemModel) in C++ and I can show it in QML using the QML Treeview control and the TreeViewDelegate When the mouse is pressed on one treeview item, I want to pass a QModelIndex (or…
Money
  • 107
  • 5
0
votes
1 answer

Problem making a scrollable box in QT with c++

So, I am trying to make an app where I need to have a space, a box, in which I have multiple possible combinations of the catan cards, they should be listed there for every player and you should be able to scroll through them, in that box. I am just…
Miximan
  • 41
  • 3
0
votes
1 answer

QT6 QTMultimedia FFMPEG backend preview procedure

I'm needing to display RTSP footage through a QML application. I have code written for this that works perfectly on Linux, simply because QT ships with a gstreamer backend on linux straight out of the box. On Windows this is a different story.…
sethsource
  • 185
  • 9
0
votes
0 answers

How to create an exe file with MySQL database using Qt?

I am doing a qt project with MySQL database. But I don't know how to create an exe file with the MySQL database. I want to know, which extension I should use to export the database. the way how I should give the path to the database. please help…
0
votes
0 answers

Qt SQL qt6.4.1 and MySQL 8.0 TLS problems

I have an MySQL Server 8.0, which supports connection with TLS>1.2. I use Qt 6.4.1 and I created an MySQL client. I am not able to connect with my server, I tried with another server which has MySQL 5.7 and it works perfectly. Can I resolve it? I…
neptunus
  • 9
  • 3
0
votes
0 answers

`QMessageBox` and `QAccessible::Alert` does not play any sound in Qt6.4.1

After installing qt 6.4.1 from the online installer, I compiled old code, and the message boxes were not playing any sound. I saw that QMessageBox plays its sound via QAccessibleEvent so I tried this QAccessibleEvent event(this,…
dev65
  • 1,440
  • 10
  • 25
0
votes
2 answers

QML FileDialog: module "Qt.labs.folderlistmodel" is not installed

I'm trying to add a FileDialog in QML, my environment: Python 3.10.8 PyQt6 Arch Linux qt6-base, qt6-declarative packages installed Code: main.qml import QtQuick import QtQuick.Window import QtQuick.Controls import QtQuick.Dialogs Window { …
0
votes
1 answer

"Failed to setup resampler" when starting QAudioSink

I'm porting some QtMultimedia code from Qt 5.15 to 6.4.1. The following program, when built with Qt 6.4.1 on Windows: int main (int argc, char *argv[]) { QCoreApplication a(argc, argv); QAudioDevice device =…
Jason C
  • 38,729
  • 14
  • 126
  • 182