Building from source¶
To build qmtunnel, you need Qt >= 4.8 and OpenSSL <= 1.0.2 installed.
Note
If you wish, you can build them from source too:
RedHat/CentOS (7)¶
Install C++ development tools, Qt and OpenSSL:
sudo yum group install "Development Tools" sudo yum install qt5-qtbase-devel openssl-devel
Download sources:
git clone https://github.com/karikhn/qmtunnel.git
Build:
cd qmtunnel/src/server qmake-qt5 make cd ../gui qmake-qt5 make
Binaries will be created in qmtunnel/bin directory.
Ubuntu (14.04 LTS)¶
Install C++ development tools, Qt and OpenSSL:
sudo apt-get install build-essential git qtbase5-dev libssl-dev
Download sources:
git clone https://github.com/karikhn/qmtunnel.git
Build:
cd qmtunnel/src/server qmake -qt=5 make cd ../gui qmake -qt=5 make
Binaries will be created in qmtunnel/bin directory.
Windows XP and later (32 bit)¶
Install Qt 5.6 with MinGW:
http://download.qt.io/official_releases/qt/5.6/5.6.2/qt-opensource-windows-x86-mingw492-5.6.2.exe
Install OpenSSL 1.0.2:
Update PATH environment variable to include:
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin
- C:\Qt\Qt5.6.2\Tools\mingw492_32\bin
Get the latest qmtunnel sources from GitHub:
Unpack, cd to qmtunnel directory and run:
cd src\gui qmake mingw32-make cd ..\server qmake mingw32-make
Copy the following files to bin directory where qmtunnel-*.exe is located:
- C:\OpenSSL-Win32\bin\libeay32.dll
- C:\OpenSSL-Win32\bin\ssleay32.dll
- C:\OpenSSL-Win32\bin\msvcr120.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\Qt5Core.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\Qt5Gui.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\Qt5Network.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\Qt5Widgets.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\libgcc_s_dw2-1.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\libstdc++-6.dll
- C:\Qt\Qt5.6.2\5.6\mingw49_32\bin\libwinpthread-1.dll
- Directory C:\Qt\Qt5.6.2\5.6\mingw49_32\plugins\platforms (actually only need platforms\qwindows.dll)
NEED HELP?¶
E-mail: support@qmtunnel.com
Note
Please be aware that individual-case direct technical support is delivered on a commercial basis.