qt6 Questions

2

I'm using Qt on Ubuntu 20.04.6 LTS. I received a notification about a Qt update, so I updated Qt. After that, whenever I try to open Qt Creator, I get this error: from 6.5.0, xcb-cursor0 or libxcb-...
Marcelina asked 28/12, 2023 at 8:27

3

Trying to follow the install instructions from a GitHub page: https://github.com/TASEmulators/fceux I went through with installing Qt6 and when I do the following this happens: mkdir build cd build...
Ruthful asked 11/2, 2022 at 19:10

2

Solved

I'm trying to migrate a codebase from PyQt5 to PyQt6. I read in this article (see https://www.pythonguis.com/faq/pyqt5-vs-pyqt6/) that all enum members must be named using their fully qualified nam...
Blither asked 2/5, 2022 at 12:21

4

Solved

Simple demo application I am trying to set the theme to dark. I would prefer a code version (non QtQuick preferred), but only way I see for Python is with a QtQuick config file, and even that does ...
Rendition asked 21/7, 2022 at 2:37

21

I'm using Ubuntu 20.04 via Oracle VM Virtual Box and I faced exactly the same error as all other people. After building Qt6 source code using official Qt manual, I'm trying to run different project...
Aphonic asked 18/6, 2021 at 13:57

4

Solved

In Qt5 this was easy with using DropShadow. But in Qt6 the module QtGraphicalEffects is removed. Is there any trick, workaround or maybe new way in Qt6 to create drop shadow around some component? ...
Dupin asked 10/2, 2021 at 21:15

1

In QML for Qt5 I could use ColorOverlay to apply a color to an image. But in Qt6, it no longer exists. What is the best way to color an image in QML for Qt6?
Linus asked 22/1, 2022 at 1:8

0

I've subclassed QGestureRecognizer to detect QSwipeGesture. Problem is, QSwipeGesture::verticalDirection() and ::horizontalDirection() always return QSwipeGesture::Right and ::Up, never ::Left or :...
Lalita asked 13/8, 2023 at 16:13

2

Solved

I am trying to install Qt 6.4, the online version, on Ubuntu 22.04. The installation was apparently smooth; I used the default options. However, when attempting to create a desktop project, I recei...
Renaterenato asked 11/10, 2022 at 22:11

2

Solved

Consider the following minimal working example: #!/usr/bin/env python3 from PySide6.QtCore import QTimer from PySide6.QtWidgets import QLabel, QApplication app = QApplication() label = QLabel('La...
Beaux asked 21/2, 2022 at 15:2

1

Solved

I was trying to follow a Qt tutorial but I get this error: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) which I don't understand, my code seems fine enough s...
Epicedium asked 10/4, 2023 at 17:33

1

Solved

I am trying to get Qt6 working on my Raspberry Pi 4 B 2GB. It's running Ubuntu 22.04. I installed all necessary packages with qt6-base-dev and any dependent packages (build-essential, cmake and so ...
Darn asked 3/3, 2023 at 7:39

5

I am in the process of trying to build a project through CMake and I set the environmental variable Qt6_DIR to the directory containing Qt6Config.cmake. However, the build doesn't seem to be able t...
Dissimulation asked 11/2, 2022 at 20:55

2

Solved

I'm porting a Qt5 application to Qt6. I want to move away from Qt5CoreCompat module of Qt6 as soon as possible. My problem is with QRegExp class which should be replaced with QRegularExpression cla...
Paganini asked 29/7, 2021 at 13:49

0

Using Qt 6.2.1 with Microsoft MSVC 2019 under Windows. Given this function to load a list of unsigned ints from persistent settings: QList<uint> get(QSettings& settings, QString& key)...
Millwork asked 3/2, 2022 at 15:55

2

Solved

As I can see in Qt6 no more Multimedia API. Am I right? Is it correct that in Qt6 for such simple task as playing sound I should look at third-party libraries now?
Gopherwood asked 9/12, 2020 at 9:19

1

Solved

I created my own video sink inherited from QVideoSink in Qt 6. And I want to show content of this sink in QML side. How can I do it? VideoOutput QML type has videoSink property, but it's read only....
Localism asked 4/10, 2021 at 7:36

2

With Qt 5 it was possible to use code like this: // Test.h #include <QObject> #include <QMetaObject> class LanguageModel; class Test : public QObject { Q_OBJECT Q_PROPERTY(LanguageM...
Ananias asked 11/3, 2021 at 11:11

3

Solved

After upgrading to Qt 6.0, the compiler told me qzxing/src/QZXing.cpp:16: error: 'QtCore/QTextCodec' file not found qzxing/src/QZXing.cpp:16:10: fatal error: 'QtCore/QTextCodec' file not found #inc...
Artel asked 20/12, 2020 at 12:25

2

Solved

I am porting my application to Qt 6 and as I am reading documentation I see that classes are cleaned up a lot, QList and QVector are unified, QStringList is now alias to QList<QString> and so...
Pytlik asked 9/2, 2021 at 16:42
1

© 2022 - 2024 — McMap. All rights reserved.