Some help for recreating the Plasma Tool Box in QML

Mark markg85 at gmail.com
Wed Oct 26 20:16:29 UTC 2011


On Wed, Oct 26, 2011 at 9:22 PM, Mark <markg85 at gmail.com> wrote:

> On Tue, Oct 25, 2011 at 6:30 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
>
>> On Tuesday, October 25, 2011 15:22:16 Mark wrote:
>> > > kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.*
>> > >
>> > > which really should be in desktop/toolboxes imo, and not in with the
>> > > shell.
>> > > i'll fix that right now and then they will be in:
>> > >
>> > > kde-workspace/plasma/desktop/toolboxes/paneltoobox.*
>> >
>> > Oke. Just wondering if you could explain why..? I have no clue why one
>> is
>> > either good or bad :p
>>
>> not so much good or bad as just better or worse :)
>>
>> we try and keep each type of plugin (applet, containment, dataengines,
>> wallpapers, runner, etc) in their own subdirectories. the idea is that
>> this
>> way it is easier to find things based on what the item is, it gives some
>> general structure to the code tree and it prevents the temptation to weld
>> components (esp applets and dataengines, but in this case the shell and
>> the
>> toolboxes) too tightly together by nature of them "living" in the same
>> place
>> in the code tree.
>>
>> hth..
>>
>
> First issue :)
> In QMake files i simply add:
> QT += declarative
>
> But what do i need to do in cmake to get the same results?
>

just add ${QT_QTDECLARATIVE_LIBRARY} in target_link_libraries

... responding to myself since i know the solution now. Thanx to kdepepo on
irc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111026/400dae6e/attachment.html>


More information about the Plasma-devel mailing list