Syntax error: newline unexpected - problem with building Qt-apps


Finally I’ve correctly (I hope…) set up and compiled Qt-libraries for my Beagle-xM, but immediately there’s another problem… I tried to follow this video - tutorial:

which is about setting QtCreator up for Beagle and building first embedded apps, but suddenly I got this error:

/home/jerzu/QtTest/qt-test/mainwindow.ui:-1: error: 2: …/qt-test/mainwindow.ui: Syntax error: newline unexpected

It shows up when I try to build very simple project with one window, one button etc., which is described on the video from 22 min. I suppose that it is some newbie’s mistake, maybe I didn’t set something important in QtCreator or something like that…? Could you help me with this?