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 Updated to NodeBB v4.3 + New Features

TERM environment variable not set

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 995 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 15 Jun 2017, 20:35 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 Offline
      M Offline
      m.sue
      wrote on 16 Jun 2017, 08:10 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

      1/2

      15 Jun 2017, 20:35

      • Login

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