Simple set of classes for developing HTTP server applications in Qt.
QHttpEngine requires a modern C++ compiler supported by the Qt framework. Some examples include:
- Microsoft Visual C++ Express
- GCC (including MinGW-w64)
- Clang
CMake 2.8.11+ and Qt 4.8+ are required to build the library. If Qt 5.1+ is not available, then two external projects are used as submodules, which provide missing Qt5 functionalities: qjson-backport and mimetypes.
Use the instructions below to build the library:
-
Open a terminal or command prompt and run the following commands to create a directory for the files that will be built:
mkdir build cd build
-
Run CMake to generate the Makefile that will be used to build the library:
cmake ..
Note: on Windows, you will need to change the last command to the following in order to generate a Makefile:
cmake -G "NMake Makefiles" ..
-
Build the library:
- Unix-based (including MinGW-w64):
make
- Windows (MSVC++):
nmake
- Unix-based (including MinGW-w64):