|
Veethree D7 SDK
|
As mentioned in the previous section, applications built for the host that use Qt libraries will use the libraries installed outside of the D7 SDK.
The Qt versions must match between the D7 SDK and the Qt libraries installed separately. Please refer to the guide for installing Qt to check the currently supported version.
It is good practice to clone the default Desktop Kit from Qt Creator and modify it as described below.
Add the following environment variables in the Build Environment. This guide assumes the default installation directories for Qt and for the D7 SDK:
Restart Qt creator.
Launch Qt Creator and open the qml-analog project by double-clicking on the CMakeLists.txt file. When prompted for a kit selection, make sure to select the cloned kit from the previous step
And click on "Configure Project".
This should run without errors.
Select the cloned desktop kit in the section on the bottom left:
It should now be possible to run the application by just pressing the green "Play" button.
If an error similar to this occurs:
Try unchecking Add build library search path to LD_LIBRARY_PATH in the "Run" configuration of the cloned desktop kit.
This is the end of the guide. If you wish to see examples of using the D7 SDK's APIs, please see the D7 software development kit examples section.