1 diff --git a/src/daemon/Greeter.cpp b/src/daemon/Greeter.cpp
2 index 07fccde..dd22a07 100644
3 --- a/src/daemon/Greeter.cpp
4 +++ b/src/daemon/Greeter.cpp
5 @@ -83,7 +83,8 @@ namespace SDDM {
6 QString Greeter::greeterPathForQt(int qtVersion)
8 const QString suffix = qtVersion == 5 ? QString() : QStringLiteral("-qt%1").arg(qtVersion);
9 - return QStringLiteral(BIN_INSTALL_DIR "/sddm-greeter%1").arg(suffix);
10 + const QString greeterDir = qEnvironmentVariable("SDDM_GREETER_DIR", QStringLiteral(BIN_INSTALL_DIR));
11 + return QStringLiteral("%1/sddm-greeter%2").arg(greeterDir).arg(suffix);
14 bool Greeter::start() {