How do I get qDebug output

Post Reply
uchris

Hello,

I'm trying to fix some issues in qlcplus, but I'm very new in this code and so I need some more debug Information. In some files there is a use of qDebug. How do I get this Output?
I also tried std::cout from iostream, but it doesn't do any Output to the screen, when I use it in classes from ui/src.

I'm complete new in QT and need your help now. Thanks
Massimo Callegari

Chris, if you read the documentation (http://www.qlcplus.org/docs/commandlineparameters.html) or launch "qlcplus -h", you will realize that the -d option is what you're looking for
uchris

Hello Massimo, I put it to the minimum value (0) and still don't get the output I want.
Massimo Callegari

Do you actually read things ?
https://github.com/mcallegari/qlcplus/w ... uild-HOWTO

You have probably built in release mode, and you're building a released version, and not the GIT sources, which is wrong if you want to contribute.
uchris

I build it from Git source and in variables.pri the debug is enabled and the release disabled.
When I add a qDebug() output to main() it works. But for a test I added it also to ui/src/aboutbox.cpp in the contructor and in the slotTimeout. I started the program and clicked on the "About" symbol. The about dialog is shown, but NO output to the console.
uchris

sorry, my fault, i didn't update the qlcplusui.so
Post Reply