I reply to myself.

The clue was to change the QAction constructor calls so that they do not need icons. This could be done just by commenting the first parameter out in the parameter list.

Create tool bar functions should be commented out.

In main.cpp the Q_INIT_RESOURCE(application); needed to be commented out. In addition, application.qrc was renamed into äö#¤.(mo.

As a result, the code compiled and runs fine, without tool bar.

teele