can i use qt to develop the plugin and then use it in the codeblocks?
If you separate UI code from the actual "computational" code and write yourself a wrapper to transfer the data, then:
yes. However - the plugins main part has to follow the C::B framework (SDK) which already uses wxWidgets stuff, like wxString. But this is far less complex... obviously. ;-)