====== Installing the ComfilePi SDK ======
After [[comfilepi:install_qt_creator:index|installing Qt Creator]], the ComfilePi SDK can be installed.
===== Download the ComfilePI SDK =====
Download the ComfilePi SDK from the link below:
| {{ http://downloads.comfiletech.com/ComfilePi/QtSDK/comfilepi_qt5.8.0_sdk_v1.4.exe |ComfilePi Qt 5.8 SDK v1.4}} | March 31, 2017 | [[.:release_notes|Release Notes]] |
===== Install the ComfilePi SDK =====
{{ :comfilepi:install_the_comfilepi_sdk:comfilepi_sdk_install_1.png |}}
The installation directory's path should not contain any spaces.
| {{ :comfilepi:install_the_comfilepi_sdk:comfilepi_sdk_install_3.png |}} | {{ :comfilepi:install_the_comfilepi_sdk:comfilepi_sdk_install_4.png |}} |
{{ comfilepi_sdk_install_5.png?nolink&700 |}}
{{ comfilepi_sdk_install_6.png?nolink&700 |}}
A couple of console windows will appear in order to extract files from the compressed archives. They will take a few minutes to complete.
{{ comfilepi_sdk_install_7.png?nolink |}}
Finally, press the //Finish// button to finish the installation.
===== Verify the Installation =====
From the Windows Start Menu, browse to the //Comfile Tools// folder and select the //Qt Creator (ComfilePi)// item. This shortcut points Qt Creator to a settings folder containing a Qt Kit already prepared by COMFILE Technology for the ComfilePi.
{{ :comfilepi:install_the_comfilepi_sdk:comfilepi_run_qtcreator.png?nolink |}}
==== If the Shortcut Doesn't Work ====
If Qt Creator is not installed in the expected location, the //Qt Creator (ComfilePi)// shortcut may not work, or may not exist. To remedy this, simply modify the shortcut, or create a new shortcut to...
//Target//: {Qt Creator Installation Path}\bin\qtcreator.exe -settingspath {ComfilePi SDK Installation Path}
//Start In//: ''{ComfilePi SDK Installation Path}''.
__Example__
Target: C:\Qt\qtcreator-4.2.1\bin\qtcreator.exe -settingspath C:\Comfile\ComfilePi\
Start In: ''C:\Comfile\ComfilePi''
{{ :comfilepi:install_the_comfilepi_sdk:qt_creator_shortcut.png?nolink |}}
==== Running Qt Creator ====
If all is well, Qt Creator will run and the following window will appear.
{{ :comfilepi:install_the_comfilepi_sdk:qt_creator_tools_options.png?nolink |}}
Go to //Tools-->Options//, and in the //Options// window that appears, go to //Build & Run-->Kits//. There the //ComfilePi// kit should appear as shown below:
{{ :comfilepi:install_the_comfilepi_sdk:qt_creator_comfilepi_kit.png?nolink |}}
==== Configuring the Device Properties ====
In the //Options// window, go to the //Devices// and update the //Host name//, //Username//, and //Password// as necessary for the specific ComfilePi device to develop and debug for.
{{ :comfilepi:install_the_comfilepi_sdk:qt_creator_device_settings.png?nolink |}}
Press the //Test// button to test your settings.
{{ :comfilepi:install_the_comfilepi_sdk:qt_creator_device_settings_test.png?nolink |}}
Qt Creator is now configured and ready for developing, deploying, and debugging software for the ComfilePi.