"I just made a quick test programme, how do i make it runnable? ive got a *.ui file? i wanna send this thing to my mates, ive always wanted to make a GUI programme."
With Qt Designer, compiling is a three step process. The designer itself generates XML to describe what you've included in the window. There's a command line app called uic that generates the corresponding *.h and *.cpp files. Next, you have to run the "moc" program to translate Qt's own C++ extensions into pure C++ that you can then compile with GCC, or whatever you're using.
Qt comes with its own documentation (Click Help->Manual) that will describe how it's done. Personally, I prefer
FOX, even though it doesn't come with a form designer. FOX is just the libraries, you have to first draw the app's GUI to get a sense of the layout. (Has an advantage of forcing you to give your GUI some thought as you plan it

). However FOX also includes some really nice freebies as well as the basic widget libraries. Other nice things about FOX are that it doesn't use any non-standard C++ extensions, the widgets auto-update by means of signals, so you don't have to include lots of code that doesn't do anything except update widgets, it greys-out inactive widget icons with a much nicer appearance, and FOX apps tend to have smaller executables. I tried Qt Designer, but once I tried FOX, I never went back.
_________________________________________
Live Free or Die: Linux

Their fundamental design flaws are completely concealed by their superficial design flaws.