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);
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
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:
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
Is it possible to change the default Working directory in Qt Creator to specified path? Or is it possible to set Working directory in .pro file? PS: I know ab
I was using QT5.4.1 version with the QWT-6.1.2 library that I've installed but in compiling I receive the error "QT_STATIC_CONST does not name a type". After so
Having troubles settings solib-search-path in Options->Debugger->GDB-> "Additional Startup Command" , "Additional Attach Command" looks like if I do: "
I have a simple flow Click on QPushButton QMenu with a couple of actions appears Navigate through the QMenu using key clicks or mouse move. (Triggering actions
At some I need to register some objects with qwebchannel and futher in the application I need to register a new object to the qwebchannel. The thing is that it
I'm working on qt, my database was rightly connected with qt but suddenly i have the following problem every time i debug,,,i i become not able to fetch or to a
I am investigating the option of using chromium embedded framework in C++ desktop application to implement new HTML views. The issue is all the GUI are implemen
Window { id: mainWindow width: 960 height: 600 flags: Qt.FramelessWindowHint | Qt.WindowMinimizeButtonHint | Qt.Window Rectangle {
I want to display string values for ticks on x-axis in pyqtgraph. Right now I am unable to figure out how to do that. Ex: x = ['a', 'b', 'c', 'd', 'e', 'f'] y
I'm trying to run a compiled Qt6 project with CMake and mingw64, however, Qt6 apparently can't find QtQuick.Studio.Effects, QtQuick.Studio.Components and QtGrap
I didn't know where to ask as a beginner. So If you can help... I want to create a project using: Qt 5.15.0 Visual studio 2019 C++ openCV 4.2.0 (if is nece
We are trying to integrate Crashpad with our Qt application and have run into several errors. We built Crashpad and attempted to link it to our application usin
I am planning to start cuda programming in Qt framework. I would like to start with a simple example. system information : OS : ubuintu 18.04 LTS Qt version : 5
Running on Ubuntu 16.04.2 LTS, with Python 2 (and I also have Python 3 installed), TortoiseHG used to show icons and text in toolbar, and I'm not sure when it h
I use a bare Ubuntu LTS 16.04 vm to create an AppImage for one of my projects. I create a minimalistic static Qt for this, so that the AppImage's size is as sma
I have a problem creating a QPushButton and linking its signal to my slots. First, I created a class with the slot: class A : public QWidget{ public slots: