kicad libraries: add option to use v6 symbol and footprint libraries
Description
v6 installation should use v6 symbol and footprint tables. Add a button for easy way to migrate from v5, anytime user wants.
Steps to reproduce
- Install full (one gig, including libraries) v6 alongside v5. v5 has its libraries installed in programfiles\kicad\shared - aka ${KICAD_SYMBOL_DIR};
- Open kicad v6 -> Preferences -> Manage symbol libraries. See, that v6 uses libraries from v5 installation (${KICAD_SYMBOL_DIR}, not ${KICAD6_SYMBOL_DIR}.
- There is no an easy way (a button in symbol + fp table windows) to migrate from v5 (outdated) libraries to v6 (the fresher ones).
- Button could be added use v6 symbol table instead of v5.
This button should:
- Rescan KICAD6_SYMBOL_DIR dir and add all entries to current view;
- Uncheck all lines, starting with to KICAD_SYMBOL_DIR;
- Check all lines, starting with KICAD6_SYMBOL_DIR, as found in step 1.
The same applies to footprint libraries.
KiCad Version
Application: KiCad
Version: (5.99.0-9705-g33f465f754), release build
Libraries:
wxWidgets 3.1.4
libcurl/7.74.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 10 2021 12:05:58
wxWidgets: 3.1.4 (wchar_t,STL containers)
Boost: 1.75.0
OCC: 7.5.0
Curl: 7.74.0-DEV
ngspice: 34
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by WhiteChairFromIkea