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-...
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...
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...
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...
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?
...
1
0
I've subclassed QGestureRecognizer to detect QSwipeGesture. Problem is, QSwipeGesture::verticalDirection() and ::horizontalDirection() always return QSwipeGesture::Right and ::Up, never ::Left or :...
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...
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...
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...
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...
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)...
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....
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...
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...
1
© 2022 - 2024 — McMap. All rights reserved.