Native Widgets Consolidation Plan
Goal
Move C++ widget/plugin maintenance into the main qtpyvcp repository so
Qt Designer widget development and packaging happen in one place.
Proposed layout
src/qtpyvcp/native/
backplot_cpp/
...
widgets_cpp/
CMakeLists.txt
README.md
gcode_editor/
CMakeLists.txt
gcodeeditor.cpp
gcodeeditor.h
gcodehighlighter.cpp
gcodehighlighter.h
gcodeeditorplugin.cpp
gcodeeditorplugin.h
gcodeeditorplugin.pro
gcodeeditorplugin.pri
Notes
nativeis an umbrella for compiled modules and bridge code.backplot_cppremains the performance module for backplot generation.widgets_cpphosts C++ Qt widgets and Qt Designer plugins.
Current migration status
gcode_editorsources were copied from the standaloneeditor_widgetrepository intoqtpyvcp.Initial CMake build scaffolding was added for local plugin builds.
qnativewas added as a project tool entrypoint and now builds both native targets (widgets plugin + backplot module).Debian packaging now invokes both
qcompileandqnativeduringoverride_dh_install.Packaging build dependencies were updated for the native/CMake path, including
cmake,qt6-base-dev,qt6-tools-dev,pybind11-dev, andpython3-poetry-dynamic-versioning.Debian package output was validated after migration:
Native artifacts are built and staged correctly.
Native
build/directories are not shipped in the final.debpayload (verified as zero packaged entries).
Local build output directories are ignored via
.gitignore:/src/qtpyvcp/native/backplot_cpp/build//src/qtpyvcp/native/widgets_cpp/**/build/
Next steps
Validate plugin loading/runtime behavior through
editvcp/Qt Designer in target environments.Standardize
.uicustom widget headers/classes across Probe Basic files.Confirm final plugin installation/discovery path expectations for designers on all supported deployment targets.
Retire standalone
editor_widgetrepo dependency once all references are migrated.