First Qt Quick Ultralite application on new platform
Now that your platform port is done, it is time to get a Qt Quick Ultralite application running on top of the port. The following steps set up your environment for building the
- Build and install your platform port as instructed in the previous topic.
- Set the following environment variables:
set Qul_DIR=path\to\your\platform set Qul_Generators=path\to\Qt\QtMCUs\<VERSION>\lib\cmake\Qul\QulGenerators.cmake
If you're using ARM GCC toolchain, set the
- Create a build directory:
mkdir build cd build
- Configure and build the example using the following commands:
cmake %Qul_DIR%\examples\minimal -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=%Qul_DIR%\lib\cmake\Qul\toolchain\<YOUR_TOOLCHAIN>.cmake -DQUL_GENERATORS=%Qul_Generators% -DQUL_PLATFORM=<YOUR_PLATFORM> nmake
If you have created flash targets for your platform as per the instructions in the Getting started section, flash the example using the following command:
You should have the following output on your display when running the example:
Available under certain Qt licenses.
Find out more.