USB rights

Some programming devices like AVRISPmkII requires rights on USB devices. This can be done by adding a rules file (provided in the archive):

sudo cp 60-avrisp.rules /etc/udev/rules.d/

For changes to be applied, restart USB services:

sudo service udev restart

Note that if an AVRISPmkII device is connected, unplug and replug.

Add the current user to the dialout group:

sudo usermod -a -G dialout $(whoami)

Close your session to apply changes.

Qt Creator project configuration

Previous steps have to be done only once. But the following has to be done every time a new project is created. Create a new Arduino project through the Wizard. Once the project is created, go in the menu Tools>Option, change the terminal to xterm :

In the project Tab (left of the screen) select Build Settings. Add /src at the end of the build directory :

In build steps (if it not already done) select make all:

In Clean steps, select make clean:

Go to the second tab : Run Settings, and set the following parameters:

It also works with the new QtCreator 3.3.0. The screenshots are a little different and most of the things are already setup correctly, but everything seems to function as it should. If you’re installing from the QtCreator installer instead of the Ubuntu bundle, just use the following path for copying the arduino and atmega templates instead:

/opt/qtcreator-3.3.0/share/qtcreator/templates/wizards/
(or similar, depending on how you installed it)