Dear Developers,
I have build Qt5.7.1 from source for Beaglebone black platform and tried to run simple example application (login window) from Qt.
example code:
#include "loginwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
LoginWindow w;
w.show();
return a.exec();
}
But after i deploy my application on Beaglebone black i get following error:
/home/root/Test5_7_1_istallation: relocation error: /home/root/Test5_7_1_istallation: symbol _ZTVN10__cxxabiv120__si_class_type_infoE,version Qt_5 not defined in file libQt5Core.so.5 with link time reference
Please inform me what can be the reason and solution for above problem.
Looking at above problem I also checked version of QT library cross compiled for Beaglebone black on my PC:
Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 4.9.3 20141031 (prerelease))
And Qt library prebuild in debian image of Beaglebone black.
// Library version in Beaglebone black
Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 6.3.0 20170124)
This is the QtCore library version Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 6.3.0 20170124)
According to me version of both Qt libraries are same then what can be the reson for above problem ?
thank you very much for help
Bookmarks