Questions tagged [qt6]
For questions specific to version 6 of Qt.
838
questions
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 ...
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 ...
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 ...
-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 ...
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 ...
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-...
-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 "...
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 ...
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 ...
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 ...
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 ...
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 ...
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),
...
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 ...
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 ...