Qt Utilities  5.8.2
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
Functions
ConfigFile Namespace Reference

Provides convenience functions for handling config files. More...

Functions

QT_UTILITIES_EXPORT QString locateConfigFile (const QString &applicationName, const QString &fileName, const QSettings *settings)
 Locates the config file with the specified fileName for the application with the specified applicationName. More...
 

Detailed Description

Provides convenience functions for handling config files.

Function Documentation

◆ locateConfigFile()

QString ConfigFile::locateConfigFile ( const QString &  applicationName,
const QString &  fileName,
const QSettings *  settings 
)

Locates the config file with the specified fileName for the application with the specified applicationName.

Remarks
If settings is not nullptr, the path provided by that object is also considered.

Definition at line 284 of file resources.cpp.