Skip to main content

Questions tagged [qt6]

For questions specific to version 6 of Qt.

0 votes
0 answers
7 views

Sign in With Apple: ASAuthorizationController doesn’t show Authorisation Window from QT app

I’m trying to use Sign in With Apple with a QT app. We did use ASWebAuthenticationSession to be able to use OAuth in AuthenticationServices for Non-Apple logins, like Google. But now I’m trying to ...
Peter Brülls's user avatar
0 votes
0 answers
11 views

QRhi uniform buffer re-usage

Is it correct that dynamic uniform buffers can only be used once per frame with the QRhi rendering layer (https://doc.qt.io/qt-6/qrhiresourceupdatebatch.html#updateDynamicBuffer)? For instance, this ...
Hyndrix's user avatar
  • 4,392
0 votes
0 answers
45 views

Connecting to MySQL in Qt6

I want to connect to MySQL in Qt6, but the connection is not working. My instructor said that you want to run a diesel car with gasoline and that you need to use a different library instead of ...
dmrecepH's user avatar
-1 votes
0 answers
72 views

How do I avoid visual artifacts around text when taking a screenshot? [closed]

I'm working on a Qt application where the background is drawn using OpenGL, and the front is rendered by QPainter to a QImage that is then used as an OpenGL texture to be displayed at the top. On ...
Arseni Mourzenko's user avatar
0 votes
0 answers
22 views

How can I implement an InsertPolicy on a QComboBox attached to QSortProxyModel?

I've got an editable QComboBox with a QCompleter set to a QSortProxyModel, which wraps a QAbstractListModel. If the user types a wholly new string into the box, I want to write that string into the ...
Crashworks's user avatar
  • 41.1k
0 votes
1 answer
31 views

How to set color mask in Qt 6 RHI

I am currently porting OpenGL code to QRhi (Qt 6.7). For glColorMask(red, green, blue, alpha) there seems to be a documented flag (https://doc.qt.io/qt-6/qrhigraphicspipeline.html#ColorMaskComponent-...
Hyndrix's user avatar
  • 4,392
-1 votes
0 answers
40 views

QT no matching function for call to 'makeCallableObject'

I'm trying to use the default Qfontcombobox in my qt app to change the font of a text edit, and i am getting this error for some reason. Here is my definition for my mainwindow.cpp #include "...
icy icy's user avatar
  • 31
0 votes
0 answers
21 views

Qt Android create files in content:// URI folder [closed]

I want to create an Android app by using Qt. The app should have the ability to ask the user for a destination directory (which could be provided by an cloud storage app) and then creates files in ...
gerum's user avatar
  • 1,099
0 votes
0 answers
14 views

Qt Tool qmllint not working on imported C++ modules

I want to use qmllint on my Main.qml, which uses modules exposed from C++ side, such as the mainCtrls import and the mainControls keyword: import QtQuick 2.15 import QtQuick.Controls 2.15 import ...
Ironside's user avatar
3 votes
0 answers
62 views

Calculating the exact needed height for a QTableWidget (Qt 6 update)

When calculating the height that is needed for a QTableWidget so that all rows are visible and no scroll bar is added, it's not enough to take the number of rows, multiply them by the row height and ...
Tobias Leupold's user avatar
0 votes
0 answers
25 views

Update figure - clear axis including secondary_y

I wrote a small PyQT6 program to get familiar with QT and matplotlib. In a tab, some graphs will be plotted and should be updated in a certain way after a pushButton is clicked. The program works fine ...
spam me's user avatar
  • 11
0 votes
0 answers
15 views

No known features for CXX complier Error for Windows

enter image description hereI was trying to install opencv file paths and qt on cmake. I added the appropriate paths and configured, I did not receive any errors, but when I try to generate, I get a ...
Anka Hanım's user avatar
0 votes
1 answer
67 views

How do I force a QWidget to be repainted?

Given the following main window implementation: #include <QApplication> #include "MainWindow.h" namespace ui { MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ...
Arseni Mourzenko's user avatar
0 votes
2 answers
51 views

How to access QWidgets from page controller class? [duplicate]

I am developing a database software using PyQt6 and SQlite3. I am struggling a bit in organising the files and classes since this is my first project of such. I have kept the main.py in the root to ...
Bob Wallace's user avatar
0 votes
1 answer
34 views

Qt QGraphicsView mouseMoveEvent works nonstop

For some reason using addWidget function in QGraphicsScene class makes the related QGraphicsView widget receive mouseMoveEvents without mousebutton pressed and mouse tracking off. MyView.h : #pragma ...
widejaw78's user avatar

15 30 50 per page
1
2 3 4 5
56