Commit 8248925
committed
Allow CTK PythonQt python module to be imported outside of a Qt applicatio,
On Linux, I was able to import the ctk module doing the following:
$ cd /path/to/CTK-build/CTK-build/bin
$ PYTHONPATH=./Python/ python
>> import ctk
>> import pprint as pp
>> pp.pprint(dir(ctk))
['QAbstractButton',
'QAbstractItemModel',
[...]
'__builtins__',
'__doc__',
'__file__',
'__name__',
'__package__',
'__path__',
'ctkActionsWidget',
'ctkAddRemoveComboBox',
'ctkAxesWidget',
'ctkBasePopupWidget',
'ctkButtonGroup',
'ctkCallback',
'ctkCheckBox',
'ctkCheckBoxPixmaps',
'ctkCheckableComboBox',
'ctkCheckablePushButton',
'ctkCollapsibleButton',
'ctkCollapsibleGroupBox',
'ctkColorDialog',
'ctkColorPickerButton',
'ctkComboBox',
'ctkCommandLineParser',
'ctkCompleter',
'ctkConsole',
[...]1 parent 6093013 commit 8248925
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| |||
0 commit comments