Questions tagged [qt6]

For questions specific to version 6 of Qt.

Qt6 was released in late 2020 and features some incompatibilities with the Qt5 release.

See: , , , etc.

Differences from Qt5


References

694 questions
-1
votes
2 answers

Qt 6.3 QML image resizing not working, why?

new bee here. I am trying something very simple and it is not working and I cannot figure out why. I am on windows and according to to the documentation, I can easily re-size an image using "fillMode:…
gmmo
  • 2,577
  • 3
  • 30
  • 56
-1
votes
1 answer

Can't load platform pluggins for Qt Windows enviroment

I've tried launching a basic Qt6 Widgets application in my PC, it builds with no errors, but it throws this error in execution: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix…
-1
votes
1 answer

There is no Format_RGB24 in qt6

In QT5 we have QVideoFrame::Format_RGB24 format (i have RGB images without alpha channel). In QT6 (6.2.0) this format is missing. Why this format has been removed? What's the best way to convert RGB -> RGBX (A) in QT6?
-1
votes
2 answers

How does QList, QList in Qt6 retrieve data?

I have used Qt 5.15 for some months to do some basic stuff. In Qt5, it's known that QList, and QVector are 2 different containers: QList will store its raw data continuously in memory (as long as the size of each element is <= sizeof(void*));…
user49685
  • 151
  • 1
  • 7
-1
votes
1 answer

Qt decided to ignore functions?

So i have this project with Frameless windows and in order to move them around the screen made such functions for every window: window.h private: Ui::MainWindow *ui; void main_mousePressEvent(QMouseEvent *event); void…
-1
votes
2 answers

Qt qml Button hover color

I have a custom QML Buton as shown bellow. import QtQuick 2.15 import QtQuick.Controls 2.15 Button{ id: dashId width: 155 height: 40 implicitWidth: 155 implicitHeight: 40 text: 'hello' flat: true property color…
Chairman
  • 134
  • 1
  • 10
-1
votes
1 answer

Several Error with Implementing of Threads in QT [C++]

I'm new to implementing Threads in QT and even after reading the Documentation several times and watching Videos, I get some Error which not even Google can help me with. thread.cpp:14: error: C2440: "Initialisierung": "QFuture" kann nicht in…
Deto24
  • 63
  • 5
-2
votes
0 answers

Italic button automatically stops working when I press enter two times. and also when I delete the entire line

I am working on an a word processing app, the Italic function seems to work fine, but it has a couple of bugs that I cannot seem to understand why. I tried using different kinds of loops like the while loop, the do while loop and the for loop but…
Zayn Mady
  • 9
  • 2
-2
votes
1 answer

Qt6 Linear gauge Issue

I have a requirement to implement a control as shown in the attachment in Qt6-QML. I knew Qt 6.x does not support gauge component and Qt does not have plans to release in future. So, some one please suggest me how can I implement below qml component…
praveen
  • 67
  • 5
-2
votes
1 answer

QtMqtt not found in PySide6 instalation

I am trying to use the QtMqtt client as part of a PySide6 project. QT/Pyside docs say its supported: https://doc-snapshots.qt.io/qtforpython-6.4/PySide6/QtMqtt/index.html. When trying to import I get a Module Not Found. I have tried pip installing…
Swifty
  • 1
-2
votes
1 answer

Trying to show a countdown on Close while waiting on threads in Qt6

For now everything in my application is quite simple because I'm just starting building it. In the end there will be potentially two threads which might run for a long time. Not because they've got a lot of computing to do, but because I have to…
-3
votes
1 answer

If statement in a template only run the first if-statement - QT

template void IOcalibrationWindow::setChildIntoIOcalibrationObject(int i, QString firstChildName, QString lastChildName, QString firstIocalibrationMethodName, QString lastIOcalibrationMethodName){ /* Get the index as string */ …
euraad
  • 2,467
  • 5
  • 30
  • 51
-3
votes
1 answer

Qt6.2 and Multimedia Module

As Qt6.2 released, it seems that the multimedia module will come back and today i download qt6.2 but "qt += multimedia" still doesn't work. How can i use the multimedia module or have an alternative to play a sound effect in c++? p.s. i'm using…
1 2 3
45
46