![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE QTypeRevision | handleInMinorVersion (QTypeRevision revision, int majorVersion) |
| QAnyStringView | interfaceName (const Interface &iface) |
| QDebug | warning (const MetaType &classDef) |
| QDebug | warning (QAnyStringView fileName, int lineNumber=0) |
| QDebug | error (QAnyStringView fileName, int lineNumber=0) |
| int | mergeQtConfFiles (const QString &pathToList, const QString &pathToMergedQtConfsList) |
| QDebug error | ( | QAnyStringView | fileName, |
| int | lineNumber = 0 ) |
Definition at line 58 of file qqmltyperegistrarutils.cpp.
| QT_BEGIN_NAMESPACE QTypeRevision handleInMinorVersion | ( | QTypeRevision | revision, |
| int | majorVersion ) |
Definition at line 21 of file qqmltyperegistrarutils.cpp.
| QAnyStringView interfaceName | ( | const Interface & | iface | ) |
Definition at line 30 of file qqmltyperegistrarutils.cpp.
pathToList points to a file listing all qt.parts.conf files pathToFinalQtConfsList points to a file that lists the final merged qt.conf file location for each qt.parts.conf file In any given directory, there might be more than one qt.parts.conf file (especially on Winodws). We need to merge all import paths for a given folder (but want to avoid duplicate entries).
The order of the import paths is significant: the QML engine resolves a module against its import paths in order and uses the first match. We therefore preserve the order in which the paths are listed within each qt.parts.conf file, so that the file's author decides which of two paths providing the same module wins. The order between separate qt.parts.conf files in the same directory is however that of QDirIterator, and so arbitrary.
Definition at line 77 of file qqmltyperegistrarutils.cpp.
Definition at line 48 of file qqmltyperegistrarutils.cpp.
References MetaType::lineNumber().
Referenced by QmlTypesClassDescription::collect(), and FoundType::select().
| QDebug warning | ( | QAnyStringView | fileName, |
| int | lineNumber = 0 ) |
Definition at line 43 of file qqmltyperegistrarutils.cpp.