Code Customization :: Blocks with Qt

I'm new to programming in general, and I'm going to learn Qt. I am wondering if there is a way to configure Code :: Blocks with QT, so I can just use the IDE instead of QtCreator? I donโ€™t love the Creator too much, and Iโ€™m already very used to dealing with Code :: Blocks.

Thanks in advance.

+6
source share
1 answer

Your question is pretty broad, but based on your comment, your problem is that you cannot create a Qt 5 project because the wizard lacks this option.

This seems to have been fixed in October in the patch below. The script has been expanded to provide you with the Qt 5 parameter in the wizard.

Code :: Blocks Qt5 Wizard

You need to make sure that you are using the appropriate version, or at least make changes to it if you can.

Even if this is not possible, you can simply create a Qt 4 project and change the qmake path, libraries, including, and if your application should be widget-based, add the widgets keyword in QT , etc.

Note. I would suggest considering using QtCreator. You would win a lot in the long run. It gets much more support around Qt than CodeBlocks, but I'm not sure about your use case. If you plan to develop with the same IDE, different from C ++ / Qt, CodeBlocks may suit you better for consistency.

+5
source

All Articles