summaryrefslogtreecommitdiffstats
path: root/Tools/Scripts/run-launcher
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/run-launcher')
-rwxr-xr-xTools/Scripts/run-launcher6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/Scripts/run-launcher b/Tools/Scripts/run-launcher
index 414d4af..731fbc0 100755
--- a/Tools/Scripts/run-launcher
+++ b/Tools/Scripts/run-launcher
@@ -47,7 +47,11 @@ checkFrameworks();
# Set paths according to the build system used
if (isQt()) {
my $libDir = catdir(productDir(), 'lib');
- $launcherPath = catdir($launcherPath, "bin", "QtTestBrowser");
+ if (isWK2()) {
+ $launcherPath = catdir($launcherPath, "bin", "MiniBrowser");
+ } else {
+ $launcherPath = catdir($launcherPath, "bin", "QtTestBrowser");
+ }
$ENV{QTWEBKIT_PLUGIN_PATH} = catdir($libDir, 'plugins');