Appends path to the end of the library path list. If path is empty or already in the path list, the path list is not changed.
The default path list consists of a single entry, the installation directory for plugins. The default installation directory for plugins is
INSTALL is the directory where Qt was installed.
- See also:
- removeLibraryPath(), libraryPaths(), setLibraryPaths()
Definition at line 1894 of file qcoreapplication.cpp.
References QStringList::contains(), and QString::isEmpty().
QString canonicalPath = QDir(path).canonicalPath();