The QColor ctor taking ints is cheaper than the one taking string literals [clazy-qcolor
QtCreator警告:TheQColorctortakingintsischeaperthantheonetakingstringliterals[clazy-qcolor-from-literal]产生原因:QColor("#ffcccc");这种方式不推荐,会产生临时的QString改成下列方式不报警告:QColorc("#000000");改为QColorc(0,0,0);c.setNam