Instructions for importing the exported platform into a 3rd party IDE
=====================================================================

Due to Qt for MCUs depending on link time optimization you have to
use the exact same compiler that the libraries have been built with:

     clang version 17.0.6

Import all source files from /Users/knud/src/qt/projects/mcu/CrashWhenBuildingInRoot/build/QtMCUs/platform to your project.

Compile and link settings
-------------------------

Apply these settings to your build in the IDE:
    Link options: -Wl,-dead_strip -fuse-ld=lld
    Static libraries to be linked:
                           ${QUL_DIR}/lib/libQulCore_Darwin-arm64_Darwin_clang_Release.a
    Additional Compile options for C files: -fno-rtti -ffunction-sections -fdata-sections
    Additional Compile options for C++ files: -fno-rtti -ffunction-sections -fdata-sections
    Compiler defines:
                           CUSTOM_IMAGE_FORMAT_PNG=128
                           QT_CORE_LIB
                           QT_GUI_LIB
                           QT_NETWORK_LIB
                           QT_WIDGETS_LIB
                           QUL_HOST_TARGET
                           QUL_SOFTWARE_RASTERIZER_FREETYPE
                           QUL_STD_STRING_SUPPORT
                           STANDALONE_
    Include paths:
                           ${QUL_DIR}/include
                           ${QUL_DIR}/src/3rdparty/minihdlc
                           ${QUL_DIR}/src/3rdparty/qoi
                           boards/qt/qt
                           include
                           src/3rdparty/minihdlc
                           src/3rdparty/qoi
