Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSystemLibrary Class Reference
+ Collaboration diagram for QSystemLibrary:

Detailed Description

\inmodule QtCore

The purpose of this class is to load only libraries that are located in well-known and trusted locations on the filesystem. It does not suffer from the security problem that QLibrary has, therefore it will never search in the current directory.

The search order is the same as the order in DLL Safe search mode Windows, except that we don't search: The current directory The 16-bit system directory. (normally {c:\windows\system}) The Windows directory. (normally {c:\windows})

This means that the effective search order is:

  1. Application path.
  2. System libraries path.
  3. Trying all paths inside the PATH environment variable.

Note, when onlySystemDirectory is true it will skip 1) and 3).

DLL Safe search mode is documented in the "Dynamic-Link Library Search Order" document on MSDN.


The documentation for this class was generated from the following file: