look for the Qt library in the installed location
[WebKit-https.git] / WebKitTools / Scripts / webkitdirs.pm
index 423e01279799b0be35a4e0a13c0c5d21a5a6cc17..a9c5a2d5eddab44793b473ffabce84a3dec85189 100644 (file)
@@ -322,7 +322,7 @@ sub hasSVGSupport
     my $path = shift;
 
     if (isQt() and $path =~ /WebCore/) {
-        $path .= "/../lib/libQtWebKit.so";
+        $path = $ENV{QTDIR}."/lib/libQtWebKit.so";
     }
 
     if (isGdk() and $path =~ /WebCore/) {