[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] linker error for qt5 application
From: |
Thomas Spitzer |
Subject: |
Re: [Mingw-cross-env-list] linker error for qt5 application |
Date: |
Mon, 08 Jan 2018 08:16:58 +0100 |
User-agent: |
Internet Messaging Program (IMP) H5 (6.0.4) |
I think you need to add crypt32 to the target_link_libraries for the
windows build in
your CMakeLists.txt.
Thanks for your replay. Unfortunately it doesn't help.
There is a crypt library:
find /home/thomas/mxe/ -name *crypt32*
/home/thomas/mxe/usr/i686-w64-mingw32.static/lib/libcrypt32.a
/home/thomas/mxe/usr/x86_64-w64-mingw32.static/lib/libcrypt32.a
I add the crypt32 in my CMakeList.txt (see attached file)
and still get link errors
make 2> log.txt
[ 16%] Automatic MOC for target qt_hallo
[ 16%] Built target qt_hallo_autogen
[ 33%] Linking CXX executable qt_hallo.exe
CMakeFiles/qt_hallo.dir/build.make:162: die Regel für Ziel
„qt_hallo.exe“ scheiterte
CMakeFiles/Makefile2:67: die Regel für Ziel
„CMakeFiles/qt_hallo.dir/all“ scheiterte
Makefile:129: die Regel für Ziel „all“ scheiterte
CMakeLists.txt
Description: Text document
log.txt
Description: Text document
Makefile
Description: Binary data