First, I am coding in PyQt5, so I am using standalone designer instead of
Qt Creator. I was thinking of posting this in PyQt5 but it seems to be more
of a Qt/Designer issue rather than a PyQt issue.

My problem: I want to create wireframes in designer. Some of them have a
QWebView in the middle of my widget showing some sample content.
The sample content, "help.html" is in the same directory as my .ui files.

Problem #1: If I "choose file", it inserts a file://absolute/path/help.html
so preview is broken if I try to preview it from another host.  Why would
anyone ever want an absolute path URL here? Why can't Designer use relative
URLs ?

Problem #2: If I hand-edit the .ui file and put "help.html" and try to
preview it from designer, it's broken too.

Problem #3: If I add the .html file to a resource and give a
"qrc:/help.html" in designer, it lets me choose the resource but preview is
still broken! I think this is a bug that I should report separately.

What should I do?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to