[Qt-interest] Find out why Qt plugin does not load?

Thiago Macieira thiago at kde.org
Tue Mar 30 10:42:48 CEST 2010


Em Terça-feira 30 Março 2010, às 10:24:03, Andre Somers escreveu:
> On 29-3-2010 20:52, Jason H wrote:
> > set QT_DEBUG_PLUGINS=1 in your shell.
> > 
> > Then you will get the plugin resolution process logged on the console.
> 
> Thanks, both answers are really helpful.
> Could you tell me where things like this are documented? I could not
> find it.

The QT_DEBUG_PLUGINS trick is not documented. It's an internal hack available 
in debug versions of Qt. There are a couple more of those, but none are 
documented. You can find them by grepping for qgetenv in Qt's source code.

The otool (Mac) / ldd (other Unix) / depends.exe (Windows) trick is something 
you learn from your platform.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100330/ac3b3906/attachment.bin 


More information about the Qt-interest-old mailing list