It is true that removing the quotes in the line
qdbus=QT_SELECT=qt4 qdbus
Gets around "Could not start" issue. However, a better fix would be to leave the quotes in place and further down start up qdbus with an eval statment:
qdbus="QT_SELECT=qtr qdbus"
...
if eval $qdbus >/dev/null 2>/dev/null; then
...
Plus the other places where "$qdbus" is invoked.
It is true that removing the quotes in the line QT_SELECT= qt4 qdbus
qdbus=
Gets around "Could not start" issue. However, a better fix would be to leave the quotes in place and further down start up qdbus with an eval statment: "QT_SELECT= qtr qdbus"
qdbus=
...
if eval $qdbus >/dev/null 2>/dev/null; then
...
Plus the other places where "$qdbus" is invoked.