svg-native-viewer icon indicating copy to clipboard operation
svg-native-viewer copied to clipboard

Add port for Qt6 #202

Open kanryu opened this issue 6 months ago • 0 comments

Add port for Qt6 #202

  • The project format is qmake.
  • The CMake project files have not been modified.
  • All source code is being donated.

Description

  • Add svgnative/include/svgnative/ports/qt/QSVGRender.h
  • Add svgnative/example/testQt

Related Issue

Add port for Qt6 #202

Motivation and Context

I developed an application in Qt6 that displayed SVG, but the display was grossly inaccurate. Qt6 has its own implementation, but there is little room for improvement.

So I searched for a reusable SVG parser and found your project. I added a port for Qt6. No changes were made to the existing code.

How Has This Been Tested?

All SVG files in the project were displayed in the sample app.

Screenshots (if appropriate):

スクリーンショット 2025-07-11 212855 スクリーンショット 2025-07-11 212946

Types of changes

  • [x] New feature (non-breaking change which adds functionality)
    • Add svgnative/include/svgnative/ports/qt/QSVGRender.h
    • Add svgnative/example/testQt

Checklist:

  • [ ] I have signed the Adobe Open Source CLA.
  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [x] I have read the CONTRIBUTING document.
  • [x] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

kanryu avatar Jul 11 '25 12:07 kanryu