[Qt-interest] Qt imageformats plugins (Linux)
Peter
pgeorges at gmail.com
Sat Jan 30 13:36:28 CET 2010
Hi,
I cannot get jpegs showing up in Qt Webkit even though it seems as though my
plugin paths are fine...
I do the following in my main.cpp:
qDebug() << QLibraryInfo::location(QLibraryInfo::PrefixPath);
qDebug() << QLibraryInfo::location(QLibraryInfo::PluginsPath);
and get the result:
"/path/to/myapp/lib"
"/path/to/myapp/lib/plugins"
I have a qt.conf located in "/path/to/myapp" beside the executable which
contains the following:
[Paths]
Prefix = /path/to/myapp/lib
In the "/path/to/myapp/lib/plugins" directory I have both the imageformats
directory copied straight from QTDIR/plugins/imageformats and I have also
taken the libs out of there and copied them directly in my plugins directory
for good measure.
The funny thing is, this works fine in Ubuntu 9.10 and CentOS 5.2 but I am
having trouble on my ArchLinux install... I just cannot see any jpegs, it is
the same problem I had on Ubuntu and CentOS before I included the
imageformats plugins in my release...
What is going on and why is ArchLinux any different when I release
everything I need in my applications directory (not relying on system Qt
libs at all)?
Cheers,
Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100130/f31208db/attachment.html
More information about the Qt-interest-old
mailing list