“Qt requires a C++17 compiler, and a suitable value for __cplusplus. On MSVC, you must pass the /Zc:__cplusplus option to the compiler.”
I am using qt 6.5.0 as a third party library. The project was building fine until I was using qt5 , on trying to build with qt6.5.0, I get the following error:
Make all widgets in a QToolBar/QHBoxLayout have a same width
For example suppose the following tool bar:
UI in QT is not outputting anything, not even console outputs
I have a basic QT Creator application with a main page called MyBroker, and a button that switches it to the Signin Page. The main page outputs and functions correctly, but the Signin Page does not. The UI itself functions fine but nothing is outputted, including log statements. I have tried revisiting everything ChatGPT and I could think of but nothing seems to work.
Smoothen text for user defined theme
I have a graph rendered with Q3DBars (Qt 6.6), and I have defined a dark theme forthe graph using Q3DThemes. The prblem is, when I set the graph theme to a Qt Built-in theme (for example Q3DTheme::ThemeArmyBlue) the texts on the graph are perfectly clear and readable, but when I set the theme to the one I have defined, the texts look jagged, pixlish and not pleasant to read from the same angle and distance as before. Is there a way to smoothen the text upon the graph rendering, by for example setting a specific rendering hint? I really need a good text quality for my graph.
LNK1104 error in Qt development environment
**Prerequisites: **I am using the internal development environment provided by my client, which is based on Qt Creator, let’s call it “CNC” in this problem.
In this project I compiled a library called DDS into a library file called DDS.lib. After successfully adding DDS.lib to my project, the following error message occurs when building the project: “:-1: error: LNK1104: could not open file”. ddservicesd.lib“”. After some troubleshooting, I found that this “ddservicesd.lib” file exists in the DDS library as ddservices.h and ddservices.cpp.
QT c++ signal emit when a QWidget is destroyed (closed)
I’m trying to handle the event of when my ChartManager (QWidget) is destroyed (i.e. when it’s closed). But the signal isn’t emitted at all (i dont get the debug output)
QT — How do I use Layout classes?
So, I have a QT project with an implemented subclass of QWidget class, which I show on the start and do nothing more. Literally:
Qt: How to read the state of a checkbox in a QTableWidget?
I’m trying to read the state of a checkbox in a QTableWidget. I would like to read out the status regardless of the name of the chekbox, i know where it is in the table
How to make a Qt function not log to console?
I have this in my code:
Development Workflow in QT
I have been working on a C++ QT project. I created the project using QT Design Studio and used QT Creator for debugging. Recently I added a custom button using the studio, and it failed to be compiled in the creator.