Top "Qt5" questions

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

How to update/redraw QChart after data is added to QLineSeries?

I am generating some data that I want to chart using QChart & friends. This is my first time using …

c++ qt qt5 updates qchart
unable to include a ui_form header of QT5 in cmake

My CMakeLists.txt looks something like : cmake_minimum_required(VERSION 2.8) if(CMAKE_BUILD_TYPE STREQUAL Release) SET(CMAKE_BUILD_TYPE …

cmake qt5
How to insert QChartView in form with Qt Designer?

I want to add QChart to the form. But I can't find it in the Widget Box. So I created …

qt qt5 qt-designer qchart qchartview
How do you port QUrl addQueryItem to Qt5's QUrlQuery?

In Qt 4, the following code using QUrl works: QUrl u; foreach (const settings::PostItem & pi, settings.post) u.addQueryItem(…

qt qt5 qurl
QT5 QWebView linker errors

Right now I'm just trying to get 'www.google.com' to load in a webview when a button is pressed. …

qt-creator linker-errors qtwebkit qwebview qt5
Deploying Qt5 on Windows without Hardware Acceleration

Qt5 can use the OpenGL driver or the DirectX Driver by using ANGLE. As we cannot depend on an installed …

windows qt opengl deployment qt5
How to include child mouse hover events in the parent MouseArea using QML?

I want to implement the following scenario in QML. Here is a sample/simplified delegate for ListView element: Component { Item { …

qt qml qt5 qtquick2
Qt add menuBar, menus, and sub menus to QMainWindow

I have a hard time adding menu Bar, menus and sub menus to Qt QMainWindow programmatically. The following code produces …

c++ qt qt5 qmainwindow qmenubar
No keyboard input in Qt Creator after update to Qt5

I have this strange situation that after updating Qt from 4.8 to 5.3, Qt Creator (v.3.2.1) will not take any keyboard input. …

qt-creator qt5
Disconnecting lambda functions in Qt5

Is it possible to disconnect a lambda function? And if "yes", how? According to https://qt-project.org/wiki/New_Signal_…

c++ lambda qt5