Server application messenger using library Qt5 and GMP library.
Designed for network communication with other users.
Messages are encrypted using a 2048-bit RSA key, as well as stored on the server.
Read Linux build for build on Linux OS.
To run the project you need to install the Qt5 and GMP
Qt install. Install Qt in the /home directory, otherwise the paths to the Qt files will not be found
- Install Qt https://www.qt.io/download-qt-installer
- Go to the download where our .run file is installed. Before we run it, we need to give permission to run it, using the command chmod +x 'name'
- Run our file ./'name'
- During the installation you can not install CMake, Ninja, Qt Creator components. However, it is necessary to select Desktop gcc 64 or gcc 32 for Qt5, otherwise the project will not build.
Note: The gmp library is installed through the .sh files in the next section or through a link in Build and run section
- Run the console from the tools directory.
- Install the necessary programs and build the project, using the bash build.sh command.
- You can run the server application with the bash messenger.sh command.
- Need to install the GMP library: https://gmplib.org/ or with commands in the console:
- Ubuntu, Debian and Linux Mint sudo apt-get install libgmp-dev
- Fedora sudo dnf install gmp-devel
- CentOS and RHEL sudo yum install gmp-devel
- Arch Linux sudo pacman -S gmp
- Install compiler for C++ and build system with the commands
- Ubuntu, Debian and Linux Mint
sudo apt-get update
sudo apt-get install g++ cmake - Fedora
sudo dnf install gcc-c++ cmake - CentOS and RHEL
sudo yum install gcc-c++ cmake - Arch Linux
sudo pacman -S gcc cmake
- To build a project, you need to make a "build" directory in the project folder with the command mkdir build
- Then move into it with the command cd build
- Next, you need to run cmake .. command inside "build" directory.
- Finally, use the make command to compile, link the project, and create an executable.
- Now you can run the application with the ./Server command.