Skip to content

algadhib/strata-host-core

 
 

Repository files navigation

Strata Host Core

Strata Host Core contains all the applications and dependencies necessary for Strata Developer Studio.

Requirements

Windows

  • Git Bash >= 2.28.0
  • CMake >= 3.19
  • Qt5 5.12.xx
  • Visual Studio Build Tools 2017
  • OpenSSL (not needed when secure connection is not used)

MacOS

  • Xcode and Command Line Tools
  • Git >= 2.28.0
  • Qt5 5.12.xx
  • CMake >= 3.19
  • Homebrew
  • OpenSSL (not needed when secure connection is not used)

Qt5 installation

Download and install Qt5 version 5.12.xx

The following Qt5 components are required:

Windows

  • MSVC 2017 64-bit
  • Qt Charts
  • Qt WebEngine
  • Qt Developer and Designer Tools -> OpenSSL Toolkit

MacOS

  • macOS
  • Qt Charts
  • Qt WebEngine

Build Instructions

Building through CLI:

Windows

make sure Qt directory is added to the path if not, follow the instructions below:

  • From the start menu, search for edit the system environment variables
  • Click Environment Variables
  • Add the following to user variables Path
    • <QT installation directory>\5.12.xx\msvc2017_64\bin
    • <QT installation directory>\Tools\OpenSSL\Win_x64\bin
  • Create a new user environment variable
    • variable name: Qt_DIR
    • variable value: <QT installation directory>\5.12.xx\msvc2017_64\lib\cmake\Qt5

In addition, make sure that other tools in the requirements section are properly installed and added to the path if needed.

Open Command Prompt, navigate to strata-host-core root directory and run bootstrap-host.bat

MacOS

make sure Qt directory is added into the path if not, open Terminal and run the following command:

export PATH=$PATH:<QT installed directory>/5.12.xx/clang_64/bin

In addition, make sure that other tools in the requirements section are properly installed and added to the path if needed.

open Terminal, navigate to strata-host-core root directory and run bootstrap-host.sh

Building through Qt Creator:

  • Make sure that you have updated/cloned strata-host-core submodules by running the following commands

    cd <strata-host-core cloned path>
    git submodule update --init --recursive
    
  • Open Qt Creator

  • Projects -> Open -> select CMakeLists.txt under root directory of strata-host-core

  • For project configuration make sure to select Qt 5.12.xx

  • Build/Run the project

Contributions

You may contribute in various ways such as reporting a bug, open a PR, or share your thoughts.

For pull requests, please follow the steps below:

  • Keep it simple.
  • Keep it consistence with the design.
  • Follow C++ style guidelines found in .clang-format under root directory of strata-host-core.

License

All rights reserved. This software and/or documentation is licensed by onsemi under limited terms and conditions. The terms and conditions pertaining to the software and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf (“onsemi Standard Terms and Conditions of Sale, Section 8 Software”). Do not use this software and/or documentation unless you have carefully read and you agree to the limited terms and conditions. By using this software and/or documentation, you agree to the limited terms and conditions.

About

Strata host core applications and libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • QML 49.9%
  • C++ 40.1%
  • JavaScript 3.9%
  • CMake 2.7%
  • CSS 1.2%
  • HTML 1.1%
  • Other 1.1%