I've changed almost all TextStudio commands to generate temporary files into a different build directory. I need this behavior because I'm syncing the source directory with the cloud and this way I can avoid unnecessary network activity (temp files sync). All works fine and the directory containing the .tex files remains clean.
However the internal PDF viewer doesn't work anymore. It still looks for the PDF in the same directory where the original .tex file is located.
Is there any wat to setup the internal viewer to look into the build folder?
Similar to "Cursor on build error and temp build directory with TexStudio".
In TexStudio 2.5.2 on Linux the "PDF Viewer" path under "Additional Search Paths" does not seem to actually set the path. In my case, the newly-set output directory was not being passed to dvips or the viewer, resulting in the error:
This can be solved by setting the paths manually. For example, if you were setting your directory to "/tmp":
Under Options -> Configure -> Commands
Under Build -> Additional Search Paths (to remove a log file error)
I tried setting search paths, -aux-directory, etc. and manually setting the path as so was the only thing that worked for me.