simulton / QSchematic

A library that allows creating diagrams such as flowcharts or even proper engineering schematics within a Qt application.
https://simulton.com
MIT License
231 stars 60 forks source link

Verify compatibility with Qt6 #22

Closed Tectu closed 1 year ago

Tectu commented 3 years ago

Verify that this library works with Qt6 as well and apply the necessary modifications - if any.

Tectu commented 2 years ago

Did some testing: This library seems to compile & work out of the box with Qt6. Just needs some minor changes in the CMake script to use Qt6 instead of Qt5 libraries.

AYJF commented 2 years ago

Hello @Tectu what minor changes in the CMake script are need it to use Qt6 instead of Qt5 libraries? could you kindly give me an example? Thanks you

Tectu commented 2 years ago

Hey!

Since commit 2ecad9bf33c2dcb179c57e5f0b4d36442e49fbc2 this library should build out of the box with Qt6. I've tested this on Windows with MSYS2. Please let me know if you encounter any issues.