mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] linker error for qt5 application


From: Thomas Spitzer
Subject: [Mingw-cross-env-list] linker error for qt5 application
Date: Thu, 04 Jan 2018 11:14:31 +0100
User-agent: Internet Messaging Program (IMP) H5 (6.0.4)


Hello,
I try to cross compile a QT5/QTQuick application. In the first step I made a "hello World" application just to test if the cross environment works for me. It doesn't.

It's a cmake project. It works in my debian Linux. With:

cd build
rm -rf *
cmake ..
make

The test program compiles

If I try for minGW:

cd build
rm -rf *
~/mxe/usr/bin/i686-w64-mingw32.static-cmake ..
make

I get linker errors:

/home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Network.a(qsslsocket_openssl.o):qsslsocket_openssl.cpp:(.text+0x125a): undefined reference to address@hidden' /home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Network.a(qsslsocket_openssl.o):qsslsocket_openssl.cpp:(.text+0x12dd): undefined reference to address@hidden'
...
/home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Network.a(qnetworkinterface_win.o):qnetworkinterface_win.cpp:(.text+0x7cd): undefined reference to address@hidden'

I've no idea, what to do. Can you give me a hint?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]