How To Use with Qt Creator -------------------------- (1) install what you need: - install cmake and GNU C/C++ compiler for ARM and your PC - compile the SDK - see: pico/pico-sdk/README.md (2) create project folder and setup project: - duplicate and rename folder - put new project side-by-side with "pico-sdk/" - edit CMakeList.txt: => change set(PROJECT my_project_name) to your project name (3) setup Qt Creator project: - open project in Qt Creator In the import dialog select the "Imported Kit" (or whichever uses GCC C/C++ arm 32bit) set path for build directory in build-style Debug to /build-debug set path for build directory in build-style Release to /build-release deselect other build styles (or edit more paths) ACCEPT - cmake/Qt fails to parse the CMakeLists.txt file. in Projects > Build&Run > Imported Kit > Build: ((the selected kit from above)) "Build Environment" > System Environment add PICO_SDK_PATH = ../../pico-sdk change target board: "CMake" > set PICO_BOARD = vgaboard ((default = "pico")) - run cmake from the menu, should be ok now - repeat for all build styles (4) edit CMakeLists.txt & start working if cmake breaks: cd build-debug rm -r * export PICO_SDK_PATH=../../pico-sdk cmake -DCMAKE_BUILD_TYPE=Debug -DPICO_BOARD=vgaboard -DCMAKE_TOOLCHAIN_FILE=../../pico-sdk/cmake/preload/toolchains/pico_arm_gcc.cmake .. --- ALT --- (3) $> export PICO_SDK_PATH=../../pico-sdk or hard path to pico-sdk $> cd PROJECT/build-debug $> cmake -DCMAKE_BUILD_TYPE=Debug .. $> cd PROJECT/build-release $> cmake .. NOTE: if something went wrong and had to be corrected: before you resume delete entire contents of the build folders. for problems in Qt Creator delete CMakeLists.txt.user too. (4) setup Qt Creator project and start working: - open project in Qt Creator The import dialog should present the "Imported Kit" preselected with the build-styles Debug and Release with their correct build directories preselected => accept