CTK In QtDesigner: Difference between revisions

From Commontk
Jump to navigationJump to search
(Created page with "=Instructions to load CTK widgets in Qt Designer= =Instructions to load CTK widgets in Qt Creator=")
 
(Add instructions for adding CTK plugins in QtDesigner)
Line 1: Line 1:
=Instructions to load CTK widgets in Qt Designer=
=Instructions to load CTK widgets in Qt Designer=
#Set the '''QT_PLUGIN_PATH''' environment variable to the ''.../CTK-build/CTK-build/bin'' path (that should contains a ''designer'' folder).
#:You might also have to add into the path the CTK plugins dependencies:
#:: Set the '''LD_LIBRARY_PATH''' environment variable to the ''.../CTK-build/CTK-build/bin'' path (that should contains files such as ''libCTKCore.so'' or ''libCTKWidgets.so'')
#Then you can start QtDesigner from the command line
#:You can troubleshoot by opening the "Help -> About Plugins" dialog within QtDesigner.


=Instructions to load CTK widgets in Qt Creator=
=Instructions to load CTK widgets in Qt Creator=
===Links===
*http://qt-project.org/doc/qtcreator-2.6/adding-plugins.html

Revision as of 12:30, 16 October 2013

Home < CTK In QtDesigner

Instructions to load CTK widgets in Qt Designer

  1. Set the QT_PLUGIN_PATH environment variable to the .../CTK-build/CTK-build/bin path (that should contains a designer folder).
    You might also have to add into the path the CTK plugins dependencies:
    Set the LD_LIBRARY_PATH environment variable to the .../CTK-build/CTK-build/bin path (that should contains files such as libCTKCore.so or libCTKWidgets.so)
  2. Then you can start QtDesigner from the command line
    You can troubleshoot by opening the "Help -> About Plugins" dialog within QtDesigner.

Instructions to load CTK widgets in Qt Creator

Links