@@ -25,12 +25,18 mkdir $reports_path; | |||
|
25 | 25 | given ($job{'Platform'}) { |
|
26 | 26 | |
|
27 | 27 | when ("Win7") { |
|
28 | $ENV{'PATH'} .= ";" . $job{'QtDir'} . "\\bin"; # Add qtdir to path | |
|
29 | $ENV{'PATH'} =~ s/\//\\/g; # replace / -> \ | |
|
28 | # Add qtdir to path | |
|
29 | $ENV{'PATH'} .= ";" . $job{'QtDir'} . "\\bin"; | |
|
30 | ||
|
31 | # replace / -> \ | |
|
32 | $ENV{'PATH'} =~ s/\//\\/g; | |
|
30 | 33 | } |
|
31 | 34 | |
|
32 | 35 | when ("Linux") { |
|
36 | # Add qtdir to path | |
|
33 | 37 | $ENV{'PATH'} = $job{'QtDir'} . "/bin:" . $ENV{'PATH'}; |
|
38 | ||
|
39 | # If this is not set we get "cannot connect to X server" errors | |
|
34 | 40 | $ENV{'DISPLAY'} = ":0.0"; |
|
35 | 41 | } |
|
36 | 42 | } |
General Comments 0
You need to be logged in to leave comments.
Login now