|
Veethree D7 SDK
|
Libraries that exist in the SDK have been built to be compatible with the Desktop Qt 6.10.2 MinGW 64-bit kit. Before building any application, this toolchain must be added to the PATH environment variable. Refer to windows toolchain to install and use the Qt build toolchain.
Activate the development environment shell
This prepares the shell for building the application using the host environment from the D7 SDK.
Note: Please make sure the Qt build toolchain exists in PATH variable.
Navigate to application source directory to create build directory
These commands should run without any errors and produce output similar to the following:
We will use the QML application from the examples\gui\qml-analog directory as an example. As seen on step 6 of this walkthrough (Building a QML application using the D7 SDK), this example demonstrates integrating the D7 SDK and Qt libraries into a single application.
For this example, you will need to have the Qt libraries installed separately from the D7 SDK. Please refer to the guide for installing Qt.
While running on the host, the sensor readings are mocked, since there are no sensors that can be used there. They will all read 249 Ohms.
Steps to build:
You should now be able to run qml-analog-app from the build directory and it should look like this:
If you would like to configure QtCreator to build and run SDK apps on the host, see Running the application on the host via Qt Creator
If you wish to see examples of using the D7 SDK's APIs, please see the D7 software development kit examples section.