Top "Qt5" questions

Questions specifically for version 5.x of the Qt library.

Dark theme for Qt widgets?

Background I'm building a PyQt5 application, that I'd like to have a dark theme for. Previously I've worked with Android …

qt pyqt qt5 pyqt5 qstyle
What is the signal for when a widget loses focus?

In a dialog, when the tab key is pressed, the focus changes to another widget. In Qt, is there any …

qt qt4 qt5 qdialog
How to setText for QPlainTextEdit?

Qt5's documentation doesn't mention that QPlainTextEdit has setText(QString) like QTextEdit does. But, I don't think it's impossible. The …

qt qt5 settext
Qt5 QML module is not installed

I'm confused about modules in Qt QML. I've read all the docs, but it doesn't make clear some basic ideas. …

qt qml qt5
Accessing C++ QLists from QML

If I've got a list of things in C++, how do I expose that to QML (in Qt5 / QtQuick 2)? It …

c++ qml qt5 qlist qtquick2
QWebView or QWebEngineView

Are there any functional differences between QWebView and QWebEngineView? If I understand correctly, QWebView is webkit, while QWebEngineView is blink. …

qt qt5 qtwebkit qt5.4 qtwebengine
Qt Creator, ptrace: Operation not permitted. What is the permanent solution?

While debugging C++ code in Qt creator I get the following error ptrace: Operation not permitted. Could not attach to …

c++ qt linux-kernel qt5 linux-mint
No default repositories in Qt Maintenance Tool

I recently installed Qt 5.5 and its MaintenanceTool (MaintenanceTool.exe). The default repositories were working, but after one day, my MaintenanceTool …

qt qt5 qt5.4
Qt 5, get the mouse position in a screen

First of all, I'd like to mention that I found that related post How to get the mouse position on …

c++ qt qt5 multiscreen
Remove selected items from listWidget

How to remove selected items from qlistWidget. I have tried write the following code, but does not work. QList<…

c++ qt qt5 qlistwidget