The openFrameworks plugin allows to create new projects and add official addons through a wizard, once the project is created you can edit the.
Optionally you can enabled the Clang static analizer which is more accurate finding errors in the code while you type but it's also sometimes slower.
Once installed you can install the Qt Creator plugin for openFrameworks that comes with the OF download, by running the install_template.sh script in scripts/qtcreator from a terminal. You might need to add a custom config to be able to enable clang instead of GCC. If you can't change it from there, press manage or go to the Compilers tab and check that clang is available. Copy the templates in scripts/qtcreator/templates to c:\Qt\qtcreator-4.6.1\share\qtcreator\templates.Īfter installing QtCreator go to Qt Creator > Preferences > Build and Run and configure the Desktop Kit to use clang instead of gcc.
Some parts of the build system rely on msys2 being installed in the default folder: c:\msys64 and installing it somewhere else might need modifications to the project files. Follow the instructions in the setup guide for msys2Īfter doing so it's recommended to restart the computer before trying to use Qt Creator Windowsįirst of all you'll need to install msys2. Once Qt Creator is properly installed add the Qt Creator plugin for openFrameworks that comes with the OF download, you can run the install_template.sh script in scripts/qtcreator and it'll install everything for you.
Qt Creator will throw critical errors without it.
If you decide to install Qt Creator using your distribution package manager, make sure to check the package qbs was also included as it is sometimes not installed by default (e.g. The one that comes with the distribution (at least in ubuntu) might be outdated or have missing core dependencies, and installing the one from the webpage you'll get support for the clang plugin which analizes the code while you type marking any errors more accurately than the default qtcreator static analizer. In linux even if Qt Creator is available in the official repositories for your distributions, it's recommended to install qtcreator from their webpage instead. You can find all versions of Qt Creator here:īefore using OF in linux you need to run some install scripts, follow the instructions here if you haven't done so yet. OpenFrameworks 0.10.0 has been tested with Qt Creator 4.6.0 and 4.6.1, we recomend to use 4.6.1 as later versions might have different steps to follow or not work as expected.