[Qt-interest] QDesktopServices and QtGui dependency
Thiago Macieira
thiago at kde.org
Tue Feb 2 12:10:59 CET 2010
Em Terça-feira 2. Fevereiro 2010, às 02.00.17, Francesco Lamonica escreveu:
> Hi all, is there a way to avoid that aforementioned dependency? basically
> i'm writing a QCoreApplication and i use QDesktopServices to get info on
> system's default directories, but just for this i'd really not want to link
> it against the QtGui lib.
>
> any ideas?
You can copy QDesktopServices's source code into your application.
Remember that if you do that, the LGPL applies somewhat differently. It will be
equivalent to the GPL in that case.
--
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/20100202/f6791f0a/attachment.bin
More information about the Qt-interest-old
mailing list