Attempting to add support for Qt5 in elemvariables