Category "qt"

<command-line>:0:3: warning: ISO C++11 requires whitespace after the macro name

I am compiling qt sources (C++) on different version of Ubuntu OS (14.04 and 16.04 LTS). The sources compile (g++) on 14.04 LTS without warnings. But on 16.04 g

Can't get OAuth 2.0 code in Qt app, but is seems to work in browser

I'm trying to configure communication with Google OAuth 2.0 in my Qt project. I was using this tutorial, although it seems to be a bit outdated. I configured ev

How to equally distribute the width of QSplitter

I have a problem with adjusting width of QSplitter. I prepared UI in Qt Designer and it looks now like that: Designer view: And here is my object inspector:

QT Creator and OpenCV455: 'arm_neon.h' file not found

I'm building a project using qt6 and opencv455. I'm doing this on the new MacBook with a silicon chip (arm64). I can compile the whole project without errors, b

How to add rows with the same specifications as the ones in a tableWidget after a table is already created?

In my app I enter a vlaue and said value sets the number of rows to the table. Within the function I will post here I do all the stuff related to setting up the

Video Lagging while Object Detection on C++

There is an object detection pre-trained model i.e. Yolov3/v4-tiny, when the algorithm is implemented in python, everything looked good, there is no lag while p

How to stop long operation on QThread?

I've made some research but I couldn't find the answer to why my solution is not working. But to the point. I've got QWidget as a separate dialog in my app. I'm

How do I insert customType array data in QDBusArgument

I am trying to set and get DNS using QtDBusInterface. As per the documentation, it has "a(iay)" format. which contains an array of IP types and an array of unsi

Are accents and special characters broken in Qt6?

I've got a Qt program that reads from csv files and saves the info into a database. There was no problem until i tried to update from Qt 5.15.2 to Qt 6.3. Now,

qt add a database sql into a project imported from cmake

Normally, to add a database to qt, we would go to the .pro file and add sql, but the project am working on was imported from cmake, so it does not have a .pro f

draw cursor on a QChartView object

I need to draw a cursor on the QChartView object. something like this: Cursor on the Chart Whenever a user clicks on the chart the cursor should be moved th

Qt C++ QString to QByteArray Conversion

I have created an encrypt/decrypt program, when encrypting I store the encrypted QByteArray in a text file. When trying to decrypt I retrieved it and then put

How to debug/step into QT SDK sources from my project

I want to debug, set break points etc in QT SDK sources, I have QT5.5.0 built with symbols and symbols are picked up, at lest GDB says so. But I still cannot de

Yocto toolchain installation with qscxmlc support

Hej Folks. I try to implement a yocto and QT5 based project for a variscite board with QtSCXML support. I got everything run on QtCreator for my Hostmachine (Ub

Why Touchscreen don't work with WebAssembly?

I'm developing an webassembly application that must use touchscreen. I studied the examples: dials fingerpaint knobs pinchzoom (see https://doc.qt.io/qt-6/touch

QSerialPort do not open correctly virtual port COM

I'm developing a driver for a device with Qt. I have already done that many times and I have a code that I use every time. But, this time, when I open the Qseri

Qt serial communication using UART RS232C

I want to connect qt and a device using UART cable (RS232C) in linux. I´m writing code, making ui and operating, but it does not work. I want to connect

Change page of QstackedWidget with animation

I want to be able to change page of QStackedWidget with some kind of animation (like fade in/out or others...) after some research I find out maybe its possible

pyqtgraph axes not displaying correctly

I recently started working with PyQt5 after updating pyqt from PyQt4 to PyQt5, and have noticed a persistent error in the axis location of all plots produced wi

QtCharts module not found even after installing in Qt Maintenance

I know that there're many questions regarding this aspect: QML module not found (QtCharts) How to include the QtCharts library in Qt Creator 4.2.0 (Community) H