Changeset 136116 in webkit
- Timestamp:
- Nov 29, 2012, 2:56:42 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 7 edited
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/PluginProcess.pro (modified) (1 diff)
-
Source/WebKit2/Shared/qt/ProcessExecutablePathQt.cpp (modified) (1 diff)
-
Source/WebKit2/WebProcess.pro (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Tools.pro (modified) (1 diff)
-
Tools/qmake/config.tests/libexecdir (added)
-
Tools/qmake/config.tests/libexecdir/libexecdir.cpp (added)
-
Tools/qmake/config.tests/libexecdir/libexecdir.pro (added)
-
Tools/qmake/mkspecs/features/features.prf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r136103 r136116 1 2012-11-29 Andras Becsi <andras.becsi@digia.com> 2 3 [Qt] Fix installation of QtWebProcess binary 4 https://bugs.webkit.org/show_bug.cgi?id=101735 5 6 Reviewed by Simon Hausmann. 7 8 If available use QLibraryInfo::LibraryExecutablesPath to find 9 the web process and the plugin process and deploy both helper 10 processes to QT_INSTALL_LIBEXECS. 11 12 The effective fallback used to find the helper processes becomes: 13 1. Application directory 14 2. Qt library executables directory (QLibraryInfo::LibraryExecutablesPath) 15 3. Qt binaries directory (QLibraryInfo::BinariesPath) 16 4. No absolute path used 17 18 * PluginProcess.pro: 19 * Shared/qt/ProcessExecutablePathQt.cpp: 20 (WebKit::executablePath): 21 * WebProcess.pro: 22 1 23 2012-11-28 Ryuan Choi <ryuan.choi@gmail.com> 2 24 -
trunk/Source/WebKit2/PluginProcess.pro
r131300 r136116 22 22 23 23 isEmpty(INSTALL_BINS) { 24 target.path = $$[QT_INSTALL_BINS] 24 use?(libexecdir): target.path = $$[QT_INSTALL_LIBEXECS] 25 else: target.path = $$[QT_INSTALL_BINS] 25 26 } else { 26 27 target.path = $$INSTALL_BINS -
trunk/Source/WebKit2/Shared/qt/ProcessExecutablePathQt.cpp
r134161 r136116 41 41 return String(expectedPath); 42 42 43 expectedPath = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator() + baseName; 43 QLibraryInfo::LibraryLocation location = QLibraryInfo::BinariesPath; 44 #if USE(LIBEXECDIR) 45 location = QLibraryInfo::LibraryExecutablesPath; 46 #endif 47 48 expectedPath = QLibraryInfo::location(location) + QDir::separator() + baseName; 44 49 if (QFile::exists(expectedPath)) 45 50 return String(expectedPath); -
trunk/Source/WebKit2/WebProcess.pro
r133890 r136116 22 22 23 23 isEmpty(INSTALL_BINS) { 24 target.path = $$[QT_INSTALL_BINS] 24 use?(libexecdir): target.path = $$[QT_INSTALL_LIBEXECS] 25 else: target.path = $$[QT_INSTALL_BINS] 25 26 } else { 26 27 target.path = $$INSTALL_BINS -
trunk/Tools/ChangeLog
r136106 r136116 1 2012-11-29 Andras Becsi <andras.becsi@digia.com> 2 3 [Qt] Fix installation of QtWebProcess binary 4 https://bugs.webkit.org/show_bug.cgi?id=101735 5 6 Reviewed by Simon Hausmann. 7 8 Add config test to detect the availability of support 9 for "program executables" in Qt (libexec). 10 11 This test can be removed after the Qt5 release. 12 13 * Tools.pro: 14 * qmake/mkspecs/features/features.prf: 15 * qmake/config.tests/libexecdir/libexecdir.cpp: 16 * qmake/config.tests/libexecdir/libexecdir.pro: 17 1 18 2012-11-29 Eric Seidel <eric@webkit.org> 2 19 -
trunk/Tools/Tools.pro
r132046 r136116 35 35 qmake/config.tests/fontconfig/* \ 36 36 qmake/config.tests/gccdepends/* \ 37 qmake/config.tests/libexecdir/* \ 37 38 qmake/mkspecs/modules/* \ 38 39 qmake/mkspecs/features/*.prf \ -
trunk/Tools/qmake/mkspecs/features/features.prf
r134200 r136116 38 38 haveQtModule(testlib): WEBKIT_CONFIG += have_qttestlib 39 39 40 config_libexecdir: WEBKIT_CONFIG += use_libexecdir 40 41 config_libxml2: WEBKIT_CONFIG += use_libxml2 41 42 config_libxslt: WEBKIT_CONFIG += xslt
Note:
See TracChangeset
for help on using the changeset viewer.