Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: use QSystemLibrary instead of LoadLibrary directly (qt#77)
* Windows: use QSystemLibrary instead of LoadLibrary directly Using QSystemLibrary ensures that it will only use the expected copy of the system library and not one that has been placed in the application's working directory or elsewhere in the PATH environment variable. Pick-to: 5.15 6.2 6.3 Change-Id: Ic4234334f73482b38ee5f06345bf11f8c029edc5 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> * Windows: use QSystemLibrary instead of LoadLibrary directly (5.15) This is the rest of the patch that is specific to Qt 5.15. Using QSystemLibrary ensures that it will only use the expected copy of the system library and not one that has been placed in the application's working directory or elsewhere in the PATH environment variable. Change-Id: Ic559957f5ca2e53193a1c230577f877b09e90859 Co-authored-by: Andy Shaw <andy.shaw@qt.io> Co-authored-by: Keith Kyzivat <keith.kyzivat@qt.io>
- Loading branch information