Skip to content
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

Run error in ArchLinux #255

Closed
zxp19821005 opened this issue Dec 13, 2023 · 7 comments
Closed

Run error in ArchLinux #255

zxp19821005 opened this issue Dec 13, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@zxp19821005
Copy link

As titled.

  • OS: EndeavourOS
  • Kernel: 6.1.67-1-lts
  • App Ver: 4.3.0
  • qt6-base: 6.6.1
  • qt6-svg: 6.6.1
    I've ported it to ArchLinux AUR:
    When I update to 4.3.0,run the app,I've got errors:
$ 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
@juzzlin juzzlin added the bug Something isn't working label Dec 13, 2023
@juzzlin
Copy link
Owner

juzzlin commented Dec 13, 2023

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?

@juzzlin juzzlin self-assigned this Dec 13, 2023
@juzzlin
Copy link
Owner

juzzlin commented Dec 13, 2023

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.

@juzzlin
Copy link
Owner

juzzlin commented Dec 13, 2023

Please try 09c9abc.

@chromer030
Copy link

chromer030 commented Dec 13, 2023

$ 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.

@juzzlin
Copy link
Owner

juzzlin commented Dec 13, 2023

$ 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.

@juzzlin juzzlin closed this as completed Dec 13, 2023
@chromer030
Copy link

A long-term and permanent solution is providing an ArchLinux package too.

@zxp19821005
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants