Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. TERM environment variable not set
Forum Update on Monday, May 27th 2025

TERM environment variable not set

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 972 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brunjak
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by m.sue
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved