Skip to content

Commit

Permalink
qt5.qtwebengine: fix library paths
Browse files Browse the repository at this point in the history
Without this it would try to find files in qtbase.

(cherry picked from commit 7eb9a85)
  • Loading branch information
abbradar committed Mar 21, 2017
1 parent 9b6a6cf commit 844c4fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/libraries/qt-5/5.7/qtwebengine/default.nix
Expand Up @@ -35,6 +35,13 @@ qtSubmodule {
# fix default SSL bundle location
sed -i -e 's,/cert.pem,/certs/ca-bundle.crt,' src/3rdparty/chromium/third_party/boringssl/src/crypto/x509/x509_def.c
# Fix library paths
sed -i \
-e "s,QLibraryInfo::location(QLibraryInfo::DataPath),QLatin1String(\"$out\"),g" \
-e "s,QLibraryInfo::location(QLibraryInfo::TranslationsPath),QLatin1String(\"$out/translations\"),g" \
-e "s,QLibraryInfo::location(QLibraryInfo::LibraryExecutablesPath),QLatin1String(\"$out/libexec\"),g" \
src/core/web_engine_library_info.cpp
configureFlags+="\
-plugindir $out/lib/qt5/plugins \
-importdir $out/lib/qt5/imports \
Expand Down

0 comments on commit 844c4fa

Please sign in to comment.