![]() |
Mapper
0.9.0
API documentation
|
Functions | |
void | setSeachPaths () |
Initializes QDir::searchPaths for Mapper resource prefixes. More... | |
void OpenOrienteering::MapperResource::setSeachPaths | ( | ) |
Initializes QDir::searchPaths for Mapper resource prefixes.
This function registers the prefixes "data" and "doc" with paths leading to possible locations in the build dir (development build only), application bundle (Android, macOS, Windows), system (Linux) and Qt resource system. Thus resource lookup may either iterate explicitly over QDir::searchPaths("PREFIX"), or directly access resources using QFile("PREFIX:name").