I'm not sure if this is a right place to ask this question.
The problem is if I include network module from Qt5 (libQt5Network.so.5 ; Qt+=network) to my project, my project will get segmentation fault before it even comes to main. I have created just a new console program:
Main:cpp
#include <QCoreApplication>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
return a.exec();
}
If in my .pro file I have
QT += core network
the application will get segmentation fault before even reaching to main, but without network everything is ok.
I have already checked with ldd that all libraries are found and I have sent the libQt5Network.so.5.5.0 to my target more than once to be sure that it is not damaged.
I found this problem because I got the same effect on my real application and I didn't know what was causing this and then I figured out that it was the networking library. I copied the libQt5 libraries to my target from SDK2.0 tisdk-rootfs-image-am335x-evm.tar.gz. Any suggestions? I guess it needless to say that with the older SDK1.0 I could compile and run my real software with network library (Qt4).
BR
JHi