[Ctk-developers] ctkWidgets on QtDesigner

Jose Ignacio Prieto joseignacio.prieto at gmail.com
Fri Aug 23 10:59:22 EDT 2013


I cannot see it in qtcreator, but works fine in qtdesigner and it builts
and runs correctly. I think this is enough for developing. Thanks



On Fri, Aug 23, 2013 at 10:37 AM, Jose Ignacio Prieto <
joseignacio.prieto at gmail.com> wrote:

> I partially did it. I tried using
> http://qt-project.org/doc/qtcreator-2.6/adding-plugins.html and I opened
> /opt/qt-4.8.4/bin/qtdesigner and I could see CTK plugins. But from normal
> qtcreator (/usr...) I cannot see them not load a ctk form previouly made in
> qtdesigner. I am using qt creator 2.4.1, is that the problem?
>
>
> On Fri, Aug 23, 2013 at 10:16 AM, Jose Ignacio Prieto <
> joseignacio.prieto at gmail.com> wrote:
>
>> Hi, I am still not able to do it. I think my qtcreator was installed (I
>> don't remember) from debian package but built from source. When I "locate"
>> qtcreator appers in /usr/lib... so I copied all the CTK .so files in
>> /usr/lib/x86_64-linux-gnu/qtcreator/plugins/ where I can see other nokia
>> plugins. Is it correct?
>>
>>
>> On Wed, Aug 21, 2013 at 2:20 PM, Julien Finet <julien.finet at kitware.com>wrote:
>>
>>> When you are in Qt Designer, what does the "Help -> About Plugin" dialog
>>> says? Any error message for the CTK plugins?
>>>
>>> The plugins need the CTK libraries libCTKCore.so, libCTKWidgets.so... to
>>> be able to load in Qt Designer.
>>> You can copy them in /opt/qt/plugins/designer, you can create symbolic
>>> links (should probably be the best solution here) or you can set the
>>> LD_LIBRARY_PATH env variable.
>>>
>>> When you get it to work (feel free to ask more questions if you are
>>> blocked), can I ask you for a favor? Can you please update the CTK wiki
>>> with instructions to get CTK widgets within QtDesigner? Extending the
>>> Getting started wiki page would be a good start.
>>>
>>> Thanks,
>>> Julien.
>>>
>>>
>>>
>>> On Wed, Aug 21, 2013 at 2:10 PM, Jose Ignacio Prieto <
>>> joseignacio.prieto at gmail.com> wrote:
>>>
>>>> Hi, this is a simple question. I am trying to add CTK widgets to QT
>>>> Designer as said in
>>>> http://www.slicer.org/slicerWiki/index.php/Documentation/4.1/Developers/Tutorials/QtDesignerbut have not succeeded. I have qt built in a Build folder and then
>>>> installed in /opt/qt folder  (in ubuntu). I copied
>>>> CTK-build/bin/designer/libCTK* to /opt/qt/plugins/designer but it doesn't
>>>> work.
>>>> What can I do?
>>>>
>>>> Thanks
>>>>
>>>> Ignacio
>>>>
>>>> --
>>>> José Ignacio Prieto
>>>> celular(nuevo): 94348182
>>>>
>>>> _______________________________________________
>>>> Ctk-developers mailing list
>>>> Ctk-developers at commontk.org
>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>>>
>>>>
>>>
>>
>>
>> --
>> José Ignacio Prieto
>> celular(nuevo): 94348182
>>
>
>
>
> --
> José Ignacio Prieto
> celular(nuevo): 94348182
>



-- 
José Ignacio Prieto
celular(nuevo): 94348182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130823/f909f21a/attachment.html>


More information about the Ctk-developers mailing list