path: root/configure
diff options
authorKai Koehne <>2013-02-13 15:29:52 +0100
committerThe Qt Project <>2013-02-15 15:46:57 +0100
commit3f471c069d608282db2b0e0fa5e8f0547778cddb (patch)
tree3ee55977c4ab3354274bb44fb6b8212d6b56ab28 /configure
parentc2bdca2d545bc583860fd2776f8fc30de1222938 (diff)
Place libexec binaries into lib folder on Windows
Change the default libexec directory to 'lib' on Windows for default configurations. This makes sure that e.g. qtwebprocess can actually find & load the right Qt libs. A separate libexec directory was introduced to avoid conflicts between a system-wide Qt in PATH and a custom Qt installation. However, since there are no system wide Qt installations on Windows this isn't an issue, but getting the executables to find its Qt libraries is. Alternatively we could have also placed it in the 'bin' directory. However, putting it in the 'lib' folder carries the notion that, unlike the binaries in the bin, the libexec executables might have to be deployed with a target application. The exception is when a separate archdata prefix is specified, and $$archdata/lib won't contain Qt libraries. In this case we use libexec like on the other platforms too. ChangeLog: [Qt for Windows] Fixed launching of QtWebProcess.exe by changing default libexec directory to 'lib'. Task-number: QTBUG-29661 Change-Id: Icbb15fb98474d6fef8ac9310f2e2b482d3282f79 Reviewed-by: Oswald Buddenhagen <> Reviewed-by: Jocelyn Turcotte <> Reviewed-by: Joerg Bornemann <>
Diffstat (limited to 'configure')
1 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index 273e8b01f9..0d30c97504 100755
--- a/configure
+++ b/configure
@@ -2816,8 +2816,14 @@ if [ -z "$QT_INSTALL_BINS" ]; then #default
QT_INSTALL_BINS=`"$relpath/config.tests/unix/makeabs" "$QT_INSTALL_BINS"`
+if [ "$XPLATFORM_MINGW" = "yes" ]; then
if [ -z "$QT_INSTALL_LIBEXECS" ]; then #default
QT_INSTALL_LIBEXECS=`"$relpath/config.tests/unix/makeabs" "$QT_INSTALL_LIBEXECS"`
@@ -3039,7 +3045,7 @@ Installation options:
-plugindir <dir> ...... Plugins will be installed to <dir>
(default ARCHDATADIR/plugins)
-libexecdir <dir> ..... Program executables will be installed to <dir>
- (default ARCHDATADIR/libexec)
-importdir <dir> ...... Imports for QML1 will be installed to <dir>
(default ARCHDATADIR/imports)
-qmldir <dir> ......... Imports for QML2 will be installed to <dir>