类似于: QString test = QString("123"); QString("123")是构造函数,这里就是手动调用构造函数 转载于:https://www.cnblogs.com/judes/p/9769993.html