Closed zxp19821005 closed 8 months ago
Hmm...I don't see this happening on Ubuntu 22.04 LTS and with the official Qt 6.5.3 SDK. I'll try to reproduce on Qt 6.6.1.
Do I understand correctly, that Heimer 4.2.0 doesn't have this issue with Qt 6.6.1 on Arch? In that case would it be possible for you to dig out the commit that probably causes this?
I was not able to reproduce this with Qt 6.6.1, but after looking at the code I might know what that warning is about.
Please try 09c9abceedf903756092598f5b0d07200906e753.
$ heimer
warning: direct reference to protected function `_ZN13QGraphicsItem14hoverMoveEventEP24QGraphicsSceneHoverEvent' in `/usr/lib/libQt6Widgets.so.6' may break pointer equality
heimer: _ZN13QGraphicsItem14hoverMoveEventEP24QGraphicsSceneHoverEvent: /usr/lib/libQt6Widgets.so.6: error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
I had this error when trying to use https://github.com/juzzlin/Heimer/releases/download/4.3.0/heimer-4.3.0-ubuntu-22.04_amd64.deb binary on ArchLinux.
But compiling from source in Arch, fixed error and it's running smoothly. It seems that Ubuntu config of QT is different with Arch's one.
$ heimer warning: direct reference to protected function `_ZN13QGraphicsItem14hoverMoveEventEP24QGraphicsSceneHoverEvent' in `/usr/lib/libQt6Widgets.so.6' may break pointer equality heimer: _ZN13QGraphicsItem14hoverMoveEventEP24QGraphicsSceneHoverEvent: /usr/lib/libQt6Widgets.so.6: error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
I had this error when trying to use https://github.com/juzzlin/Heimer/releases/download/4.3.0/heimer-4.3.0-ubuntu-22.04_amd64.deb binary on ArchLinux.
But compiling from source in Arch, fixed error and it's running smoothly. It seems that Ubuntu config of QT is different with Arch's one.
Nice! I will push my guess fix to master and close this for now.
A long-term and permanent solution is providing an ArchLinux package too.
Thank you!
As titled.