Your question is quite broad, but based on your comment, your problem seems to be that you cannot create a Qt 5 project because the wizard is missing that option.
This seems to have been fixed upstream in October by the patch below. The script was extended to provide you a Qt 5 option in the Wizard.
Code::Blocks Qt5 Wizard
You need to make sure to use the appropriate version, or at least backport the change to your version if you can.
Even if this was not possible, you can probably just create a Qt 4 project, and modify the qmake path, the libraries, includes, and if your application is meant to be widget based, add the widgets
keyword to the QT
variable, etc.
Note: I would suggest to give some consideration to using QtCreator. You would gain a lot in the long term. It gets a lot more support around Qt than CodeBlocks, but I am not sure about your use case. If you plan to develop with the same IDE other than C++/Qt, CodeBlocks may suit you better for consistency.