Thx for answering...
Have still some problems with that answer!
Qt doesn't have a prob with opening the pdf-file within the TB!
When i set
TB->setOpenExternalLinks(false);
TB->setOpenExternalLinks(false);
To copy to clipboard, switch view to plain text mode
then it just throws the binary content of the pdf-file in the TB, just as if you would try to open a binary file within a Browser like IE or Firefox.
But it just works for the pdf-files that are stored in a normal dir on the filesystem.
So it works for code like:
...<a href=\"./some_dir_here/disclaimer1_wo.pdf\">..."
...<a href=\"./some_dir_here/disclaimer1_wo.pdf\">..."
To copy to clipboard, switch view to plain text mode
but not for code that gets the binary from the qrc-file, like:
...<a href=\":/disclaimer/disclaimer1_wo.pdf\">..."
...<a href=\":/disclaimer/disclaimer1_wo.pdf\">..."
To copy to clipboard, switch view to plain text mode
The other interesting thing that i noticed now is that, not even the image-files can be shown correctly when you try to work with them as LINKS.
So the code:
...<img src=\":/images/logos/sc_mat_logo_155x40.png\" alt=\"SC-Logo\">...
...<img src=\":/images/logos/sc_mat_logo_155x40.png\" alt=\"SC-Logo\">...
To copy to clipboard, switch view to plain text mode
works fine BUT the code:
...<a href=\":/images/logos/sc_mat_logo_155x40.png\">...
...<a href=\":/images/logos/sc_mat_logo_155x40.png\">...
To copy to clipboard, switch view to plain text mode
DOESN'T...
Is it an interpretation problem from "<a href=..." within the TB?
Every problem from above appears with both states of TB->setOpenExternalLinks().
So that property shouldn't be the key to solving that!
Bookmarks