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

Linker error on linux #106

Open
rezso opened this issue Jun 14, 2023 · 0 comments
Open

Linker error on linux #106

rezso opened this issue Jun 14, 2023 · 0 comments

Comments

@rezso
Copy link
Contributor

rezso commented Jun 14, 2023

I tried to compile 748b5cb with gcc 13 and qt 6.5.1, but fails:
/bin/ld: lib/libQHotKey.a(QHotkey.cpp.o): in function QHotkeyPrivate::~QHotkeyPrivate()': QHotkey.cpp:(.text+0xfc2): undefined reference to vtable for QHotkeyPrivate'
/bin/ld: lib/libQHotKey.a(QHotkey.cpp.o): in function QHotkeyPrivate::QHotkeyPrivate()': QHotkey.cpp:(.text+0x129d): undefined reference to vtable for QHotkeyPrivate'
/bin/ld: lib/libQHotKey.a(qhotkey_x11.cpp.o):(.data.rel.ro._ZTI17QHotkeyPrivateX11[_ZTI17QHotkeyPrivateX11]+0x10): undefined reference to typeinfo for QHotkeyPrivate' /bin/ld: lib/libQHotKey.a(qhotkey_x11.cpp.o):(.data.rel.ro._ZTV17QHotkeyPrivateX11[_ZTV17QHotkeyPrivateX11]+0x10): undefined reference to QHotkeyPrivate::metaObject() const'
/bin/ld: lib/libQHotKey.a(qhotkey_x11.cpp.o):(.data.rel.ro._ZTV17QHotkeyPrivateX11[_ZTV17QHotkeyPrivateX11]+0x18): undefined reference to QHotkeyPrivate::qt_metacast(char const*)' /bin/ld: lib/libQHotKey.a(qhotkey_x11.cpp.o):(.data.rel.ro._ZTV17QHotkeyPrivateX11[_ZTV17QHotkeyPrivateX11]+0x20): undefined reference to QHotkeyPrivate::qt_metacall(QMetaObject::Call, int, void**)'
collect2: error: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant