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

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

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


From: Kjetil Matheussen
Subject: Re: [Mingw-cross-env-list] linker error for qt5 application
Date: Thu, 4 Jan 2018 14:53:57 +0100

Maybe something mentioned in this discussion helps: https://github.com/Martchus/PKGBUILDs/issues/41


On Thu, Jan 4, 2018 at 10:22 AM, Thomas Spitzer <address@hidden> wrote:

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 `_imp__CertCreateCertificateCoaddress@hidden'
/home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5Network.a(qsslsocket_openssl.o):qsslsocket_openssl.cpp:(.text+0x12dd): undefined reference to `_imp__CertGetCertificateChain@32'
...
/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]