-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev cpp #19
base: master
Are you sure you want to change the base?
Dev cpp #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
11
Thank you very much for your contribution! However, on my computer(Win11 22H2 and Qt6.3.1), it displays slightly different from the Python version: Anyway, thank you for the code! Tips: If you are using Qt6 or later, Firstly, you need to add a line to your project file (QT += core5compat) to call the functions in QTextCodec. In addition, argument to the setFont() function in Qt6 needs to be enum types instead of int (to find how to change them, please check https://doc.qt.io/qt-5.15/qfont.html#Weight-enum) |
This is a c++ version of your project