Access custom theme settings from within views
Just for other people who come across this here is the answer:

&lt;?php print theme_get_setting('tm_qrule_url'); ?&gt; works using the views_php module 

It doesn't show in the views preview but does in the actual page load.

Thanks goes to @sheena_d for helping with this.