CodeBlocks IDE
IDE安装好之后,首先需要配置编译器和调试器,一般windows下安装MinGW版本默认都已经配置;
在default.conf文件中添加配色模式,然后在setting ——》editor ——》 syntax 中配置编辑器配色模式;配色模式见网页: http://wiki.codeblocks.org/index.php?title=Syntax_highlighting_custom_colour_themes
CodeBlocks Project
在项目上点右键,选择project build options ——》 search directories 在 compiler中填入include路径,在linker中填入lib路径; 选择project build options ——》 linker settings 在link libraries 中填入具体lib文件; bin目录填入系统环境变量。
Qt Creator
安装好之后,需要在 工具 ——》 选项 ——》构建和运行 ——》 套件Kit 中设置MSVC或MinGW的编译器和调试器
Qt Project
Qt项目中的包含目录、库目录在 .pro 文件中进行配置,.pro 文件通常需要包含的内容为:
QT += core gui