mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Use qt.conf to override plugin path on Mac OS
Summary: QCoreApplication::addLibraryPath is called before QCoreApplication was constructed and this caused the returned string to be different depending from which working directory it was called and not always the intended binary path. Using qt.conf has a fixed prefix relative to the binary path inside the application bundle and therefore is easier to be used with a relative path. Reviewers: kbasan, msutcliffe Reviewed By: msutcliffe Differential Revision: https://dev.swift-project.org/D18
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f952775665
commit
cf2c0d0f35
2
samples/hotkey/qt.conf
Normal file
2
samples/hotkey/qt.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[Paths]
|
||||
Plugins = ../..
|
||||
Reference in New Issue
Block a user