From 82479f920999be4475dd1de01c63a5d3d206c896 Mon Sep 17 00:00:00 2001 From: mewmew-i2p <37730144+mewmew-i2p@users.noreply.github.com> Date: Sun, 22 Apr 2018 20:24:37 +0800 Subject: [PATCH] Update qt-desktop-gui.md --- docs/devs/building/qt-desktop-gui.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/devs/building/qt-desktop-gui.md b/docs/devs/building/qt-desktop-gui.md index 36df450..475ae0a 100644 --- a/docs/devs/building/qt-desktop-gui.md +++ b/docs/devs/building/qt-desktop-gui.md @@ -28,13 +28,23 @@ All commands should be run under MSYS2 mingw32. ``` pacman -Suy git make tar mingw-w64-i686-gcc mingw-w64-i686-boost mingw-w64-i686-libpng mingw-w64-i686-openssl mingw-w64-i686-zlib pacman -Suy mingw-w64-i686-qt5-static +pacman -Suy openssl-devel mingw-w64-i686-miniupnpc mkdir -p /c/dev/ cd /c/dev/ git clone https://github.com/PurpleI2P/i2pd.git cd i2pd git checkout openssl +export MINGW='mingw32' +export PATH=/$MINGW/bin:/usr/bin +cd qt/i2pd_qt +qmake +make USE_UPNP=yes ``` +#### Caveats + +It is important to restrict PATH as described above. If you have Strawberry Perl and/or Mercurial installed, it will pick up gcc & openssl from the wrong places. + TBD ## Under Ubuntu