README.txt
1 These folders hold the required library (in binary form) for designer to use 2 python2 widgets. 3 4 need for displayimg pyqt widgets: 5 python-pyqt5 6 python-pyqt5.qsci 7 python.pyqt5.qtopengl 8 python-pyqt5.qtsvg 9 python-opengl 10 python-opencv 11 12 optional: 13 espeak 14 espeak-ng-espeak 15 python-dbus.mainloop.pyqt 16 17 you must have designer installed: 18 sudo apt-get install qttools5-dev-tools 19 sudo apt-get install qttools5.dev 20 21 you must copy that proper version of libpyqt5_py2.so to the folder: 22 /usr/lib/x86_64-linux-gnu/qt5/plugins/designer 23 (x86_64-linux-gnu might be called something slightly different 24 on different systems) 25 26 You will require super user privileges to copy the file to the folder. 27 28 This file might be included in linuxcnc at this location: 29 30 in a RIP version: 31 lib/python/qtvcp/designer/x86_64 32 or in an installed version: 33 /usr/lib/python2.7/dist-packages/qtvcp/designer/x86_64/ 34 35 You must pick the series 5.5 or 5.7 or 5.9 of Qt 36 currently Debian stretch uses 5.7, Mint 12 uses 5.5 37 if in doubt check the version qt5 on the system 38 If you need to build the library for a certain version see: 39 https://gist.github.com/KurtJacobson/34a2e45ea2227ba58702fc1cb0372c40 40 41 then you must link the qtvcp_plugin.py to the folder that designer will search. 42 (The link name must have .py as an ending.) 43 Qtvcp_plugin can be found at: 44 in RIP version: 45 lib/python/qtvcp/plugins 46 in an installed version: 47 /usr/lib/python2.7/dist-packages/qtvcp/plugins 48 49 The link can be placed in: 50 /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python 51 or 52 ~/.designer/plugins/python 53 54 open a terminal, set the environment for linuxcnc (. scripts/rip-environment if RIP) 55 then load designer with : designer -qt=5 56 57