Ok let me say it again. The template is made for Qt 4.x which is not backwards compatible with Qt 3.x Besides that you will have to create your own .pro file and run qmake on it to generate a Makefile and use that one to build your project. The qt3support4 lib is present in Qt 4 to provide compatibility with older Qt versions. Judging from the Qt version you are using you must have the free version that comes with Blanchette's and Summerfield's book (or was it 3.2.3 ?) on Qt (which is for the MSVC and Borland compilers only so you'll need them to). I suggest you follow the examples they give exactly as they are, to understand the basics of Qt programming (what is needed to build a Qt program to start with). The Code::Blocks Qt template is not suitable for what you need (the plugin in the link I provided above is, but you'll have to build it and download a C::B nightbuild so I'm not sure if it will fit your needs, it's your choice
).