Commit bc874c7b authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Make sample shell include work with custom Qt

Summary: This makes the shell include work with the prebuilt Qt from qt.io, saving users with less powerful machines a lot of time.

Test Plan: applications can be compiled against the Qt binaries from qt.io and launch.

Reviewers: #kdesrc-build, mpyne

Reviewed By: #kdesrc-build, mpyne

Subscribers: mpyne

Differential Revision: https://phabricator.kde.org/D21387
parent 74d70dec
Pipeline #3768 passed with stage
in 1 minute and 19 seconds
......@@ -41,7 +41,7 @@ fi # kdesrc-build: f
# === End of modifiable variables.
# Default qmake executable if we don't find a better one
qmake=qmake
qmake=${qt_prefix}/bin/qmake
# Find system Qt5
if test -z "$qt_prefix"; then
......@@ -104,6 +104,7 @@ path_add "CMAKE_PREFIX_PATH" "$kde_prefix";
path_add "QML2_IMPORT_PATH" "$kde_prefix/$libname/qml";
path_add "QT_PLUGIN_PATH" "$kde_prefix/$libname/qt5/plugins" # phonon likes this one
path_add "QT_PLUGIN_PATH" "$kde_prefix/$libname/plugins" # others like this more
path_add "LD_LIBRARY_PATH" "$qt_prefix/lib/"
# For Python bindings support.
path_add "PYTHONPATH" "$kde_prefix/$libname/site-packages";
......@@ -122,3 +123,4 @@ export QT_PLUGIN_PATH
export XDG_DATA_DIRS
export XDG_CONFIG_DIRS
export MANPATH
export LD_LIBRARY_PATH
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment