[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Some help for recreating the Plasma Tool Box in QML
From:       Mark <markg85 () gmail ! com>
Date:       2011-10-26 20:16:29
Message-ID: CAPd6JnFZ=aOi5Pytx4azhNONKhj=x_DVvY6=ZXB5X2BHtnmT9A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

> On Tue, Oct 25, 2011 at 6:30 PM, Aaron J. Seigo <aseigo@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.

[Attachment #5 (text/html)]

<div class="gmail_quote">On Wed, Oct 26, 2011 at 9:22 PM, Mark <span dir="ltr">&lt;<a \
href="mailto:markg85@gmail.com">markg85@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">

<div class="im"><div class="gmail_quote">On Tue, Oct 25, 2011 at 6:30 PM, Aaron J. \
Seigo <span dir="ltr">&lt;<a href="mailto:aseigo@kde.org" \
target="_blank">aseigo@kde.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


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


</blockquote></div><br>just add ${QT_QTDECLARATIVE_LIBRARY} in \
target_link_libraries<div><br></div><div>... responding to myself since i know the \
solution now. Thanx to kdepepo on irc.</div>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic