Category "qt"

Auto-filling the HTML input field with a C++ QString value

I am finding the 'Sign in' text on the QWebEnginePage and then auto filling in the emailId in the input field if the correct page is displayed. The value of ema

Enablin vsync in qt

I'm making an application in c++ and Qt. I'd like to know if the settings below are enough to have vsync enabled automatically by Windows for qt application. ev

How to open Subdirectories in a directories by using recursive function?

My program is already works well but I want to add one more condition. The program opens a directory and display .h and .cpp files. But if there is a subdirecto

Qt missing OpenSSL 3.x support on Ubuntu 22.04

I tried to build my application which uses QNetworkManager to communicate to a server. I did not have any problems on older Linux versions but with the newest U

LNK1117: syntax error in option 'VERSION:.' with qmake

On Qt5 project using Microsoft compiler, the qmake .pro project file have DATE = $$system(wmic os get LocalDateTime > $$OUT_PWD/wmic.txt) DATE = $$cat($$OUT_

mingw32-make fails in cmd due to temporary errors of non-literal type and non-trivial destructor in open CV sources

I need to inject Open CV to Qt according to this tutorial, but at the stage mingw32-make on cmd I got en error. C:/opencv/sources/3rdparty/protobuf/src/goog

How to build QtPDF Build with bitbake (w/o qtwebengine-core)

I try to build QtPDF without building the full QtWebEngine. According to the wiki page (https://wiki.qt.io/QtPDF_Build_Instructions) a simple -no-build-qtwebeng

How to open a second QMainWindow from my first/original MainWindow?

I am creating a desktop app with Qt6 and C++ and I have my original MainWindow class. Using Qt Creator I generated ui,h,cpp for a new SummaryClass (QMainWindow)

The window i made with qt designer doesn't show up

I made this window using qt designer i did not add the code that downloads the songs yet but when I run it the window doest show up from PyQt5 import QtCore, Qt

QSqlDatabase is opened but QSqlQuery does not execute and shows error database not opened

I am working on a project. I am trying to run this query but it fails and gives the error. Here is the code: QSqlQuery* printQry = new QSqlQuery(); if

How to specify dependencies in qt_add_qml_module (CMake for Qt 6.2)

When using qt_add_qml_module to specify a QML module, how do you handle Qt modules that it depends on (e.g. QtMultimedia)? If I have class Synthesizer that exte

Qt - Add item from a second window to ListWidget in MainWindow

I have a QDialog where I can enter a Text and add it to a ListWidget inside the MainWindow after I clicked OK. Therefore I created a Method in the MainWindow cl

Qt - TableView with categories

I am looking to replicate the look of the TableView presented in this picture using Qt. The one in the picture looks to be created with Windows Forms. The mai

QT QML + C++ MVVM

As far as I know in QT QML is not possible to instantiate a C++ class in QML Component, unless it is a QQuickItem. I would not like to put all ViewModels on Vie

How to find out the screen number from qml code?

I need to find out whether the popup is visible on the screen. In Qt, I would call qApp->desktop()->screenNumber(this) within the widget class function. T

Speed differences between QStandardItemModel and QAbstractTableModel?

Can anyone explain the following: I have 2 scripts for loading a pandas dataframe in a tableview which has a filter field. The one with the standard model loads

Remove row from the model

There is a client (company). The client has contacts. You can link any number of contacts to a specific client. Let's say you open the client you need. Then you

QWebEngineView SOCKS5 proxy with authorization

Is there any way to make QWebEngineView work with SOCKS5 with authorization? I tried connecting QWebEnginePage::proxyAuthenticationRequired signal to my slot, b

QProcess does not signal stdout ready

When I launch xfreerdp process out of shell, it prints INFO messages to stdout and WARN/ERROR messages to stderr, as expected (this is just the default /log-lev

QProcess does not work if the path in argument list has a whitespace

I want to execute following command using QProcess, that works in cmd already if executed: C:\\myApplication\\tools\\dcmodify.exe -v -ie -gin -nb -ma (0010,0010