Category "qt"

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

Qt / SVG - getting accurate coordinates of element

I'm working with Qt, trying to prototype a "clickable SVG" widget. I'm trying to get accurate coordinates for a particular element within an SVG from a QSvgWidg

Get Qt5 up and running on a new Mac

Coming from Ubuntu I bought a new iMac and tried to setup my Qt development. Everything else is already up and running. Xcode command line tools are also instal

Qt serial port: write and read data

I'm able to connect to my serial port, but I need to read data from it all the time. It's working for about 39 minutes, but after it stops at line serial.flush(

qt exec() cannot be closed

I am coding in C++ with Qt5.7. I are facing a problem with QDialog exec(). I need it in modal, so I cannot use show(). When the dialog is finished and closed, t

Run button is disabled in Qt Creator

This happens even on a freshly created, empty project. The Run (and also Debug) buttons are disabled for the Qt5 configuration (they're enabled for the Qt4 con

PyQt GUI size on high resolution screens

I posted a question a while ago asking about Tkinter backends and subsequently forgot about it but I've since realised that I'm using the pyqt backend. Is there

Creating Python bindings for a large quantity of C++ Qt Libraries

Question in short: Do you maybe know, or have any idea how I could implement the below mentioned, existing libraries in Python, whether that be through bindings

QtCreator: Header files not found when using CMake

I have tried this on multiple platforms, experiencing the same issue every time. I successfully build and run my C++ OpenFrameworks application using QtCreator

Which is Key_F13

I am developing a program where we need to implement Key F13 but I can't find F13 in keyboard. Can someone please tell me which code belongs to Key F13 in norma