summaryrefslogtreecommitdiffstats
path: root/bin/tqt20fix
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tqt20fix')
-rwxr-xr-xbin/tqt20fix4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tqt20fix b/bin/tqt20fix
index a303717bf..cee2eb1e4 100755
--- a/bin/tqt20fix
+++ b/bin/tqt20fix
@@ -194,8 +194,8 @@ sub parseline{
"pointingHandCursor" => "Qt::pointingHandCursor"
);
-if ( defined( $ENV{"QTDIR"} ) &&
- open( I, "< ". $ENV{"QTDIR"} . "/src/kernel/ntq1xcompatibility.h" ) ) {
+if ( defined( $ENV{"TQTDIR"} ) &&
+ open( I, "< ". $ENV{"TQTDIR"} . "/src/kernel/ntq1xcompatibility.h" ) ) {
while( <I> ) {
if ( /\#define\s+([a-zA-Z0-9_]+)\s+(\S+)/ ) {
if ( !defined( $globals{$1} ) ) {