Important: Please read the Qt Code of Conduct -

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

  • 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:


Log in to reply