Skip to content

rutura/Smart_Home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart_Home

Setup

Qt for Android Setup

Resource: https://www.qt.io/blog/getting-started-with-qt-for-android

  • Download and execute/run Qt online installer.
  • Select android among other components in the component selection window and install.
  • Install.
  • Launch Qt creator and select edit->preferences->devices->android as follows

Qt Creator devices android

  • Click setup SDK button. Qt will download all its required android SDKs.

Install Verification

  • In the edit->preferences->kits tab Qt for android kit would be auto-detected and shortlisted among your kits if the setup was correct.
  • In case not try the following solutions.

Issues and Solution

  • Incase you have already installed Qt components including android and your setup does not still auto-detect android kit delete Qt creator's cache and relaunch Qt creator.

    • In debian-based linux this is found in ~/.cache/QtProject/QtCreator.

    Architecture

architecture

  • The main application uses platform directives to load platform specific qml application. Android and IOS platform share the same qml application code.
  • The application launches a user management module with login/signup/forgot-password features with local storage of users database.
  • On successful-login, the room module launches with room controls(actuators and sensors) and usage pages.
  • Persistent values are saved in the settings module.
  • Controls interact with the driver layer through a driver service(QML - creatable element)
  • The driver layer has the least amount of Qt and can be swapped with HAL code of the deployed platform.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published