Designer: Can't find property index file
To reproduce:
- Open Designer
- Click "Help"
- Click "Contents"
This results in an error complaining about being unable to find the property index file. The correct files need to be installed and update the source so that it can be found.
Comment copied from !7 (merged)
Alec:
In checking this out I uncovered another possible bug. It appears Designer is looking for some Qt documentation that isn't installed now using Meson.
doc/html/*
isn't installed and so Designer can't findpropertyindex
. On a default installation it fills it with/opt/osiris/share/designer/doc/html
in the Preferences dialog. That isn't correct apparently, becausepropertyindex
shouldn't be indesigner/doc/html
anyways, as it's in the Osiris(Qt) documentation. From my look through the code, I think it originally just copieddoc
, and OSIRISDIR was set todoc/html/designer
, then to set the default documentationPath it would get the parent directory (which in this case isdoc/html
). That behavior is not correct anymore, in addition to the html documentation not being installed.To make it short, need to install
doc/html
into something like<PREFIX>/share/osiris/doc/html
, and then update the default value thatdocumentationPath()
provides. I believe this is set in help.cpp around line 88. I could be wrong on that however. Let me know if you see the same thing.