I need to open a PDF from an action in QGis. The PDF rests on a server, not local.
So far I tried this (as Python):
from PyQt4.QtCore import QUrl; from PyQt4.QtWebKit import QWebView; myWV = QWebView(None); myWV.load(QUrl(('https://myserver.com/[% "path" %])); myWV.show()
This just opens an empty window. It works with a png.
Can anybody tell me how to do that. Thanks!