[Qt-creator] 2,7,2 fetch device environment

Duane duane.hebert at group-upc.com
Wed Aug 14 14:02:09 CEST 2013

On 8/14/2013 6:29 AM, Christian Kandeler wrote:
> On 08/14/2013 11:45 AM, Tim Sander wrote:
>>> The fetch device environment button is failing to do anything with Qt
>>> creator 2.7.2.  The remote device is controller running tiny core linux.
>>> If I deploy a release build and execute it from the command line on the
>>> device, it works as expected.  If I do the same with a debug build it
>>> errors with "Environment not set yet."
>>> Any idea?
>> Take a look at remotelinuxenvironmentreader.cpp in src/plugins/remotelinux.
>> Basically in line 63 it runs the "env" command.
>> Is this command available on your target?
> I was going to reply that he would get an error message in that case,
> but it turns out that's not true, as our checks are inadequate there. I
> will fix this for 3.0.

As I told Tim, I can run the env command from the command line on the 

I will look at remotelinuxenvironmentreader.cpp to see what mechanism is 
used to run this remotely and fetch the results.

More information about the Qt-creator mailing list