Relative Content

Tag Archive for c++qt

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.

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.