方式一:比较常见的方法 QFile file(":/qss/psblack.css");if (file.open(QFile::ReadOnly)) { QString qss = QLatin1String(file.readAll()); qApp-&...