[Qt-interest] Wrong widget style after recompile

Thiago Macieira thiago at kde.org
Mon Dec 21 18:19:18 CET 2009


Em Segunda-feira 21. Dezembro 2009, às 06.00.51, Lane Christiansen escreveu:
> I just recompiled Qt with -static and -qt-sql-mysql, and after rebuilding
>  my application, the widget style is Cleanlooks, not Oxygen, as it had been
>  previously. (Using Kubuntu.)
> 
> So:
> How can I set the widget style manually?

appname -style somestyle.

There's a global variable that you can set that is the style as well.

Note that a statically linked application cannot use the Oxygen style.

-- 
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/20091221/ddd5534d/attachment.bin 


More information about the Qt-interest-old mailing list