Category "qt"

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

Compress string with GZip using qCompress?

I have a string of hex data (0a000a0165787a... etc) that I write to a file like this: void Output(QString FilePath, QString Output) { QFile file(FilePath);

How to get the DPI of the display screen in Qt

I need to get the DPI value of display in Qt. I am able to get it in Qt 5.0 using the following: #include <QScreen> ...... ...... QScreen *srn = QApplica

Can't open compressed file

I'm trying to compress a text file with QT: QFile inFile("d:\\build\\Directories\\Debug\\files\\developer.txt"); bool open_file_result = inFile.open(QIODevice:

Why if I use a QImage instead of imread I get a null pixmap.?

I try to execute the next code, But If I use a file Image the code run well but If I tried to use a QImage I get the next error. In the same way I get the error