QHelpEngine images



  • Hi all

    I'm in trouble displaying images into my help pages... it seems that images are searched using the current path as base-path instead of the application path...

    my myapp.qhp looks like:

    @ ...
    <files>
    <file>intro.html</file>
    ...
    <file>images/question.png</file>
    ...
    </files>
    ...
    @
    eg:

    my application is in /home/iw2lsi/myapp and contains the directory /home/iw2lsi/myapp/images

    starting myapp from /home/iw2lsi/myapp works fine (texts and images are correctly shown)

    starting myapp from /home/iw2lsi results in good help texts but with broken images..

    BW: the assistant seems not affected by this problem... and I can start it from everywhere (with the same collection file) without side-effect:

    cd /home/iw2lsi/myapp; assistant -collectionFile myapp.qhc
    cd /home/iw2lsi; assistant -collectionFile myapp/myapp.qhc

    thanks a lot for any hints

           Giampaolo

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.