QtMsBuild -> Qt::BuildLock
We have a fairly large solution (>200 projects) and recently switched to VS2019. We are using Qt 5.14 with Qt Visual Studio Tools 2.7.1.18 and QtMsBuild. After we started using VS 2019 we get the following warning multiple times when we build the solution:
Compile error in QT file using c++
I have class Content in my project as follows:
Using qvector in q_property and accesing each data
I would like to update weekKm and weekTime to update automatically when I change any value in m_weekKmAndTime, but I am struggling with that. I would like to acces it just like DbModel.weekKm(0)
and have value, not struggle with vars in qml and trying to get value there.
Why doesn’t changing the parent object’s properties in Qt affect the same-named properties of its child objects?
QWidget *widget; QLineEdit *text; widget->addWidget(text); widget->setEnabled(false); qDebug()<<widget->isEnabled(); // false qDebug()<<text->isEnabled(); //true In a QWidget, there are multiple child widgets, including QLabel and QTextEdit. Now I want to change the style in QSS based on the QWidget’s enabled value. For example: QTextEdit:enabled { background-color: lime; } QTextEdit:disabled { background-color: red; } However, this approach doesn’t seem […]
Painting arc borders on a QWidget
How to create a QWidget that looks the same as the image below?
How to customize the space between specific lines on a QTextDocument?
I’m trying to set a custom spacing between just the first line and the second and all other lines should have the same line spacing.
Does embedding Qt resources affect RAM consumption?
I’m working on a Qt application where I’m embedding all resources by default into the binariy files using the Qt Resource System. I understand that this approach can simplify distribution by bundling resources with the executable. However, I’m concerned about its impact on RAM consumption at runtime.
How to load pdf file with search option using QT C++?
I am new in qt c++. Anyone help me with code to load pdf file with search option using QT C++. I have able to load pdf file but unable to search.
How to make QPushButtons fill the window vertically in QGridLayout
I´m new to Qt and i´ ve made a simple widget application, a chess timer. I would like my buttons to fill the entire window. They do horizontally but not vertically:
Handles mouseMoveEvent for a QGraphicsItem object after calling the context menu
I have an implementation of the Square
class based on QGraphicsItem
. The class is implemented in such a way that I could move the object on the QGraphicsView
.