30 QString identifier = type +
":" + QFileInfo(soName).baseName() +
":" + label;
37 QString type, soName, label;
48 type = identifier.section(
':', 0, 0);
49 soName = identifier.section(
':', 1, 1);
50 label = identifier.section(
':', 2);
56 QString type1, type2, soName1, soName2, label1, label2;
61 if (type1 != type2 || label1 != label2)
return false;
63 bool similar = (soName1.section(
'/', -1).section(
'.', 0, 0) ==
64 soName2.section(
'/', -1).section(
'.', 0, 0));
static QString canonicalise(QString identifier)
static QString RESERVED_PROJECT_DIRECTORY_KEY
static void parseIdentifier(QString identifier, QString &type, QString &soName, QString &label)
static QString createIdentifier(QString type, QString soName, QString label)
static bool areIdentifiersSimilar(QString id1, QString id2)
static QString BUILTIN_PLUGIN_SONAME