[Qt-interest] QDesktopServices and QtGui dependency
Francesco Lamonica
alienpenguin at gmail.com
Wed Feb 3 11:37:51 CET 2010
Thank you all for the answers,
eventually i'll follow one of the solutions mentioned; we have a commercial
license so i am not entirely sure if that changes the possibility to include
parts of that code, i'll check that later; however i think that this
specific part of QDesktopServices should be moved to a different class to
avoid the Gui dependency, dont you agree?
regards
On Tue, Feb 2, 2010 at 12:24 PM, Andre Somers <andre at familiesomers.nl>wrote:
> Thiago Macieira wrote:
> > 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.
> >
> If that is a problem, I *think* (IANAL) you could copy it to your own
> library which you can then release under LGPL again, and link to that
> library. That would prevent making your whole application GPL, if you
> object to that.
>
> André
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100203/a46bd8b8/attachment.html
More information about the Qt-interest-old
mailing list