摘要: 使用浏览器打开网址 #include <QDesktopServices> #include <QUrl> QUrl url(QString("https://cn.bing.com")); QDesktopServices::openUrl(url); 打开本地文件夹 #include <QDes 阅读全文
posted @ 2021-08-24 22:00 十一的杂文录 阅读(563) 评论(0) 推荐(0)
摘要: 一、对整形排序 // qSort 对整形排序 QList<int> list; list << 1 << 3 << 19 << 0 << 2; qSort(list.begin(), list.end()); foreach(int i, list) { qDebug() << i; } 二、对字符 阅读全文
posted @ 2021-08-24 18:05 十一的杂文录 阅读(1888) 评论(0) 推荐(0)