Commit eb9e32a9 authored by Anthony Léonard's avatar Anthony Léonard

win32: fix build on Fedora >26

Default QMake configuration in mingw packages has changed since
Fedora 26 and some modifications are required in order to make the
ring client able to compile on it:
 - Change QMake spec from "win32-g++" to "mingw-w64-g++" which links
   with libqt5main.dll instead of the wrong libqtmain.dll.

With this patch, the client shouldn't be able to compile anymore on
Fedora <26. The corresponding patch in "client-windows" is also
required as parts of the fix include modifications of the project
file.

Change-Id: I7c8c6ac028c1bccc824691e8974a93569fb6bb9c
Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent d3ff1583
......@@ -74,6 +74,6 @@ cd ../..
fi
mkdir -p build${ARCH}
cd build${ARCH}
${HOST}-qmake-qt5 ../RingWinClient.pro -r -spec win32-g++ RING=$INSTALL_PREFIX
${HOST}-qmake-qt5 ../RingWinClient.pro -r -spec mingw-w64-g++ RING=$INSTALL_PREFIX
make -j$CORES || exit 1
make install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment