[Qt-interest] How to get Qt 4.5 static WebKit to display graphics?
peter
qt at bienert-rh.de
Thu Mar 26 12:35:43 CET 2009
Use that macro, in windows, it works... Mac ? try it.
Q_INIT_RESOURCE(name_of_resources)
Rush Manbert schrieb:
> I'm on Mac OSX with Xcode 3.1.2.
>
> I built Qt 4.5 from source with the -static option. I then built the
> previewer.app that is in installDir/Examples/webkit by running qmake (I
> put installDir/bin at the front of my PATH first), then make.
>
> The app runs, but when I paste in some HTML that should display an
> image, the image is not displayed.
>
> So I built Qt 4.5 from source again without the -static option and
> installed it in a different location. I set installDirDylib/bin at the
> front of my PATH, then built the previewer.app by using qmake, then make.
>
> The app runs and when I paste the same HTML I used before, the image
> file is displayed.
>
> I suspect that this is due to the use of plugins to handle the various
> graphic formats, and that the libraries are not getting linked in the
> first case.
>
> How do I get the graphics to be displayed when I use static libraries?
>
> Thanks,
> Rush
More information about the Qt-interest-old
mailing list