#pragma once #include #include #include #include Q_DECLARE_LOGGING_CATEGORY(logQmlScanner); // expects canonical paths class QmlScanner { public: void scanDir(const QString& path); // returns if the file has a singleton bool scanQmlFile(const QString& path); QVector scannedDirs; QVector scannedFiles; QHash qmldirIntercepts; };