summaryrefslogtreecommitdiff
path: root/app-admin/calamares/calamares-999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/calamares/calamares-999.ebuild')
-rw-r--r--app-admin/calamares/calamares-999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-admin/calamares/calamares-999.ebuild b/app-admin/calamares/calamares-999.ebuild
index 31bc3140..a4ac0eef 100644
--- a/app-admin/calamares/calamares-999.ebuild
+++ b/app-admin/calamares/calamares-999.ebuild
@@ -52,6 +52,10 @@ RDEPEND=">=dev-qt/qtcore-5.4.0:5
virtual/udev[systemd]"
src_prepare() {
+ # If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
+ # Setting QT_SELECT environment variable will enforce correct binaries (fix taken from vlc ebuild)
+ export QT_SELECT=qt5
+
git submodule init
git submodule update
}