[Ctk-developers] ctkWidgets on QtDesigner

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Sat Aug 24 11:39:07 UTC 2013


Hi,

I don't have experience with QtCreator installs from e.g. a Debian 
package, but the designer plug-ins definitely need to go in a "designer" 
subdirectory, even when copied to a system path. On my system with a 
custom QtCreator install, that would be

<qtcreator-install-path>/bin/designer

but I didn't test/verify it myself right now.

Best,
Sascha

On 08/23/2013 06:07 PM, Jean-Christophe Fillion-Robin wrote:
> Based on my experience ... even after setting QT_PLUGIN_PATH I 
> couldn't load plugin located in multiple folder using QtCreator.
>
> On the other hand, setting QT_PLUGIN_PATH  is know to work QtDesigner
>
> Possible hack: Manually create symlink in the expected folder
>
> @Jose: You wiki account has been activated.
>
> Hth
> Jc
>
>
> On Fri, Aug 23, 2013 at 11:10 AM, Julien Finet 
> <julien.finet at kitware.com <mailto:julien.finet at kitware.com>> wrote:
>
>     That's great you managed to load the CTK widgets in QtDesigner!
>     Can you populate the following wiki page with the steps you did to
>     have the widgets in the designer:
>     http://www.commontk.org/index.php/CTK_In_QtDesigner
>
>     I can't really help for QtCreator as I don't personally use it. My
>     guess is that it might be missing dependencies. You might want to
>     try with the QT_PLUGIN_PATH environment variable otherwise.
>
>     Thanks,
>     Julien.
>
>
>     On Fri, Aug 23, 2013 at 10:59 AM, Jose Ignacio Prieto
>     <joseignacio.prieto at gmail.com
>     <mailto:joseignacio.prieto at gmail.com>> wrote:
>
>         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
>         <mailto: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
>             <mailto: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
>                 <mailto: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
>                     <mailto: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/QtDesigner
>                         but 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
>                         <mailto: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
>
>
>
>     _______________________________________________
>     Ctk-developers mailing list
>     Ctk-developers at commontk.org <mailto:Ctk-developers at commontk.org>
>     http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>
>
>
> -- 
> +1 919 869 8849

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130824/b5e7b474/attachment.htm>


More information about the Ctk-developers mailing list