Top "Qt5" questions

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

Project ERROR: Unknown module(s) in QT: webkitwidgets

I am porting code from qt4 to qt5. I added the following line to my .pro file, as suggested: QT += …

c++ qt qt5 qtwebkit
Parsing through a csv file in Qt

Is anyone familiar with how to parse through a csv file and put it inside a string list. Right now …

c++ qt csv qt5 qfile
Get HWND on windows with Qt5 (from WId)

I am trying to convert a Qt4 Application to Qt5. The only thing I couldn't figure out is how to …

c++ windows qt user-interface qt5
Qt 5.3. QtWidgets: No such file or directory #include <QtWidgets>

I want to compile Qt example. I get error QtWidgets: No such file or directory #include greaterThan(QT_MAJOR_VERSION, 4): …

c++ qt qt5 qmake qtwidgets
Do I have to include all these Qt dlls with my application?

I'm totally new in using Qt and I don't know a lot of stuff. As a test I created a …

c++ qt visual-studio-2012 qt5
QTextEdit vs QPlainTextEdit

What's the difference between QTextEdit and QPlainTextEdit, why use one over the other? I'm coding a text editor as an …

c++ qt qt5 qtextedit qplaintextedit
QObject connection function

I checked other similar questions and tried their solutions but they don't work for me. I'm basically trying to make …

c++ qt qt5 qt-signals
Qt Layout, resize to minimum after widget size changes

Basically I've got a QGridLayout with a few widgets in it. The important ones are 2 labels, which I use for …

qt layout qt5 qgridlayout
Building Qt 5 on Linux, for Windows

I wanted to migrate my Qt 4 app to use Qt 5 instead. These instructions failed, due to some differences with how …

qt qt5 mxe
CMAKE_PREFIX_PATH doesn't help CMake in finding Qt5

From here: https://stackoverflow.com/a/28327499/462608 I tried this: cmake_minimum_required(VERSION 2.8.12) project(qtquick_hello_cmake) set(CMAKE_PREFIX_…

linux qt cmake qt5 qtquick2