-
I changed the code to use PNG images (32x32) as icons instead of fontawsome icons. Compiling in windows environment passes. Then I tried to delete the corresponding #include expressions, as well as the complete src/iconfont and res/fonts folders, but the compiler reports errors and stops. Is there an easy way to delete everything related to fontawesome from the code as well as delete files that are no longer needed? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Interesting idea, do you have a GH fork with these changes? This would help me to understand and support your efforts - unfortunately I'm currently away from my development system, so it may take some weeks on my side. Nevertheless these icons are legacy from the old openhantek project and I used them without thinking of alternatives. |
Beta Was this translation helpful? Give feedback.
-
thank you for your reply |
Beta Was this translation helpful? Give feedback.
-
GH fork is created. In the commit #1, the fontawesome icons were replaced with PNG files and the code was changed accordingly. In the commit #2, unnecessary files were deleted and several statements were disabled (commented). Environment:
EDIT Ho-Ro 20230826: link to GH fork added above. |
Beta Was this translation helpful? Give feedback.
-
Please check my latest commit 0806fe6 where all traces of FA are purged. I replaced the icons with B/W icons to be consistent with the icons visible in the tools bar on the left. #include <QPainter> |
Beta Was this translation helpful? Give feedback.
-
Thank you. You confirmed my goal. SVG or PNG is a matter of personal choice. |
Beta Was this translation helpful? Give feedback.
-
Ok. Please check tooltips definitions. I have disabled that part and left yellow background. Main.cpp Sispinbox.cpp |
Beta Was this translation helpful? Give feedback.
Please check my latest commit 0806fe6 where all traces of FA are purged. I replaced the icons with B/W icons to be consistent with the icons visible in the tools bar on the left.
To fix the error messages you need to add this line to
mainwindow.cpp
.