Hi,
“special cross compile solution” means for me that I edit and manage the project included the sources on x86 based PC but I run the qmake and compilation on the target architecture.
I don't see this solution nothing but I thing I have enough power for compilation.
I compile qt framework on my embedded board and install it.
After that I made a simple project and try to compile on the embedded device. At compilation I get the following error:
g++ -Wl,-O1 -Wl,-rpath,/home/moravas/project/cubie/bin/lib -o masterController main.o -L/home/moravas/project/cubie/bin/lib -lQt5Core -lpthread
main.o: In function QDebug::operator<<(char const*)': /home/moravas/project/build/embedded/masterController/masterController/../../../../cubie/bin/include/QtCore/qstring.h:909: undefined reference to QArrayData::deallocate(QArrayData*, unsigned long, unsigned long)'
You can see that I would like call a simple
@
qDebug() << "something"
@
I checked the library path: "-L/home/moravas/project/cubie/bin/lib", I found the libQt5Core.so.
This lib is exist and I list the symbols too and I found:
@
readelf -Ws libQt5Core.so | grep deallocate
3219: 0006dfed 20 FUNC GLOBAL DEFAULT 12 _ZN10QArrayData10deallocateEPS_jj
@
I don't have any idea...
Regards,
Norbert