9[[maybe_unused]]
static void func()
14 qDebug() << fi.absoluteFilePath();
24info1.absoluteFilePath();
30info2.absoluteFilePath();
40QFileInfo info1(
"C:\\Users\\Bob\\untabify.lnk");
42info1.absoluteFilePath();
48info2.absoluteFilePath();
61info.setFile(
"/etc/hosts");
78QString bundle = fi.bundleName();
99QString ext = fi.completeSuffix();
123 qWarning(
"I can change the file; my group can read the file");
125 qWarning(
"The group or others can change the file");
133qDebug() << info1.absolutePath();
134qDebug() << info1.baseName();
135qDebug() << info1.absoluteDir();
136qDebug() << info1.absoluteDir().path();
139QFileInfo info2(u
"/home/user/Documents/memos"_s);
140qDebug() << info2.absolutePath();
141qDebug() << info2.baseName();
142qDebug() << info2.absoluteDir();
143qDebug() << info2.absoluteDir().path();