From bbced0d3fde11034f8c3a9334abccc571ab52dd0 Mon Sep 17 00:00:00 2001 From: Zoltan Arvai Date: Mon, 24 Mar 2014 13:56:18 +0100 Subject: Fix QtWebEngineProcess name on Windows QtWebEngineProcess has an exe extension that need to be added to processPath. Change-Id: I2ab1691f7af35c76bf693046396b5464e0f2dde2 Reviewed-by: Jocelyn Turcotte --- src/core/web_engine_library_info.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/core/web_engine_library_info.cpp b/src/core/web_engine_library_info.cpp index 67a466c90..4e7d20cc7 100644 --- a/src/core/web_engine_library_info.cpp +++ b/src/core/web_engine_library_info.cpp @@ -99,8 +99,13 @@ QString location(QLibraryInfo::LibraryLocation path) QString subProcessPath() { static bool initialized = false; +#if defined(OS_WIN) + static QString processPath (location(QLibraryInfo::LibraryExecutablesPath) + % QDir::separator() % QStringLiteral(QTWEBENGINEPROCESS_NAME) % QStringLiteral(".exe")); +#else static QString processPath (location(QLibraryInfo::LibraryExecutablesPath) % QDir::separator() % QStringLiteral(QTWEBENGINEPROCESS_NAME)); +#endif if (!initialized) { // Allow overriding at runtime for the time being. const QByteArray fromEnv = qgetenv("QTWEBENGINEPROCESS_PATH"); -- cgit v1.2.3