Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.34 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.34 KB

QHTTPEngine

Build Status MIT License

Simple set of classes for developing HTTP server applications in Qt.

Build Requirements

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.

Build Instructions

Use the instructions below to build the library:

  1. 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
    
  2. 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" ..
    
  3. Build the library:

    • Unix-based (including MinGW-w64): make
    • Windows (MSVC++): nmake