Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Is there a cross-platform possibility to capture a printf() from stdout (No QProcess)?

$
0
0
Hi, I am writing my first QT Gui Application thus I am not very experienced yet regarding QT. I use a standard c library (http://libnodave.sourceforge.net/) in my project to communicate with an industrial controller (PLC). In that library are several printf()-Statements which I want to redirect to qdebug() (or use it in some place on the GUI). This has to work on both linux and windows. Could anyone help me to find some hints to do that? I tried some code snippets from some old mailing list posts which did not work and I am completely frustrated. The problem first sounded not very complicated but the deeper I look for a solution the more I despair of it. I appreciate any hint you could give me. Thanks in advance. Jochen

Viewing all articles
Browse latest Browse all 13965

Latest Images

Trending Articles



Latest Images