The WorkingDir is set by looking at the QLAppContext WorkingDir property and appending the current library name to it.
QLLibrarySettingsEntry Class | Spss.Dimensions.Library.Specification Namespace