Timeline for symbol lookup error: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 3, 2019 at 5:07 | comment | added | jdonald | Ahh, the answer to that one is "sometimes" or "it depends", and I'd run out of space here trying to write the conditions/nuances. How about you open up a new question on raspberrypi.stackexchange so others can write up a clear answers? It's actually a great question that many stand to benefit from. | |
Sep 3, 2019 at 4:56 | comment | added | Mehta | Thank you for reply. I will revert it asap. but let me know one thing that if I have Qt application which is compiled from Raspberry pi and if i have to run that application on different arm device (like Microchip or TI board)...... as both the side Qt version is same. will it work or not ??? Note : This Question is only for my knowledge. Please don't consider it with above question. | |
Sep 3, 2019 at 0:20 | comment | added | jdonald | You didn't answer the important question of whether you're using the identical version on the build machine though, and you haven't answered @TheCodingClan's basic questions or my other ones. To avoid having to keep pulling teeth I have edited your original question out with an expanded template, please edit it and fill in all the ??? parts, then others here will better be able to assist. | |
Aug 31, 2019 at 4:38 | comment | added | Mehta | I have given this command "apt-cache policy-declarative:armhf" and i got "libqt4-declarative:Installed: 4:4.8.7+dfsg-5ubuntu2". I am using Raspberry PI (Ubuntu Mate) from myside and code is compiled on another system which have Ubuntu 16.04. that crosscompiled executable file is not working in my system. As both side Qt version (4.8.7) and toolchain version is same. and Qt declarative module is also same. Please help. | |
Aug 28, 2019 at 3:17 | comment | added | jdonald | Oh sorry. That should be apt-cache policy libqt4-declarative:armhf | |
Aug 24, 2019 at 5:18 | comment | added | Mehta | How can i find the version of QtDeclarative Module ?? when i enter this command "apt-cache info libqt4-declarative:armhf", it is showing like E: Invalid operation info. | |
Aug 23, 2019 at 23:22 | history | edited | jdonald | CC BY-SA 4.0 |
double-down on what should be on the host PC, and use the 2015 link as an example
|
Aug 21, 2019 at 14:56 | history | edited | jdonald | CC BY-SA 4.0 |
added 42 characters in body
|
Aug 21, 2019 at 14:33 | comment | added | jdonald |
Got it, no direct references to qwsEvent in your code, but potentially in generated code or the libraries. See this post this blog post for someone with the same unresolved situation (same function different name mangling). Please answer @The Coding Clan by editing your original question to include the Ubuntu versions (16.04 or 18.04?) both for build host and the target, plus exact QtDeclarative package versions (apt-cache info libqt4-declarative:armhf ). Also grep for qwsEvent in your binaries+libraries.
|
|
Aug 21, 2019 at 14:02 | comment | added | Mehta | I hv cross compiled 1 small example program in QT like "behavior-example"which is in QT 4.8.7 example folder. I hv already linked it with libqt4-declarative:armhf....but same error i got.... Nd what should i do to replace with Qwidget::x1qEvent(_XEvent*)??? | |
Aug 21, 2019 at 13:53 | comment | added | jdonald | I'm afraid your language is unclear (both in your original post and followup comment). Did you cross-compile Qt (the big, gigabytes-full of libraries) on that Ubuntu PC? If so, you should not and should instead install the binary package. Or do you mean you only cross-compiled your smaller program and linked it with the prepackaged libqt4-declarative:armhf binaries? If so that's okay. Either way, as I wrote above you should make sure you avoid any references to QWidget::qwsEvent(QWSEvent*) a.k.a. _ZN7QWidget8qwsEventEP8QWSEvent and replace those with QWidget::x11Event(_XEvent*). | |
Aug 21, 2019 at 5:55 | comment | added | Mehta | I have given the command "sudo apt install libqt4-declarative:armhf" but it is showing like "libqt4-declarative is already the newest version (4:4.8.7+dfsg-5ubuntu2)". so i have already have the new version. Actually I have cross compiled QT on another ubuntu pc which have QT 4.8.7 installed and when I am running this file on Raspberry Pi board which is configured with Ubuntu Mate and QT 4.8.7, I am getting this error "symbol lookup error: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent ". @jdonald | |
Aug 21, 2019 at 5:34 | history | answered | jdonald | CC BY-SA 4.0 |