TERM environment variable not set



  • Hello,
    I`ve installed qt on raspberry pi. From my qt application I start an application. It works well except that i get a huge amount of error messages (stderr) which say "TERM environment variable not set". If I start the application by a console I do not get these messages.

    Any idea?

    Thank you
    Jakob



  • Hi,

    if you use QProcess::startDetached the environment may not get passed on correctly to the app that you start in your app, see this bug which seems to be fixed in Qt 5.10 after 9 years: https://bugreports.qt.io/browse/QTBUG-2284

    -Michael.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.