QT smart home source code, can be used to pass the test