Top "Qtcore" questions

Questions related to the QtCore module that provides core non-graphical classes used by other modules.

Qt ISODate formatted date/time including timezone

Does anyone know of a cleaner way to get the time zone included in the ISO string representation of a …

c++ qt qtcore qdatetime qdate
How to access a nested QML object from C++?

Here is a reproducible example: main.qml import QtQuick 2.0 Item { id : root width: 360 height: 360 Text { id : t1 text: qsTr("Hello …

c++ qt qml qtquick2 qtcore
Qt/C++ Convert QString to Decimal

How Can I convert QString to decimal ? In C# code it look like that: public static decimal ConvertToDecimal(string tekst, …

c++ qt qstring qtcore
Qt C++ connect QPushButton click

I have just started developing using QtGUI and I have checked out some tutorials and documentation, and by what I've …

c++ qt qtgui qtcore qt-signals
How to parse HTML with C++/Qt?

How can i parse the following HTML <body> <span style="font-size:11px">12345</span> <…

c++ qt qtwebkit html-content-extraction qtcore
How to change the current working directory?

I am working on a program that takes a file from a certain directory and copies it to the working …

c++ ios macos qt qtcore
How to use QCommandLineParser for arguments with multiple params?

I wonder, how can I use multiple- or sub-arguments with QCommandLineParser? For example: /home/my_app --my_option_with_two_…

c++ qt qt5 qtcore qcommandlineparser
Create .csv file in C++ in qt

I want to create an csv file using c++, using Qt for application and UI framework. Is there's library for …

c++ qt qt4 export-to-csv qtcore
Speeding up writing images into hard disk in OpenCV

I am working with a 50 fps camera (in Ubuntu environment and Qt framework) and every 20 ms I get a frame …

c++ qt opencv qthread qtcore
How to setup QSerialPort on a separate thread?

Following the official documentation I'm trying to do this: MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { QThread *thread = new QThread; Worker *…

c++ qt qthread qtcore qtserialport