摘要: QProcess::startDetached(QString("explorer %1").arg(strFilePath)); 其中,在windows上使用时,strFilePath中的双斜杠需要替换为单斜杠,最终都变成"\"(replace \\ to \)。 阅读全文
posted @ 2019-03-07 16:59 冯耀耀 阅读(1146) 评论(0) 推荐(0)
摘要: Qt5.6.2版本存在这样一个问题(其它版本未测试),当main函数中设置了application.setAttribute(Qt::AA_NativeWindows)(用于使得每个子界面都可以获取winId,用来播放视频)。然后在窗口中同时使用无边框透明自定义阴影(比如QGraphicsDropS 阅读全文
posted @ 2019-03-07 13:57 冯耀耀 阅读(1390) 评论(0) 推荐(0)