Skip to content
/ qfcgi Public
forked from drobin/qfcgi

FastCGI implementation for Qt

License

Notifications You must be signed in to change notification settings

k1-801/qfcgi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QFCgi

FastCGI implementation for the Qt project. The library utilizes the Qt event pattern, it runs completely asynchronous. It hides (most) of the FastCGI specification behind a simple interface.

Usage

A common pattern can look like this:

#include <qfcgi.h>                                      // (1)

QFCgi *fcgi = new QFCgi;                                // (2)
fcgi->configureListen(QHostAddress::Any, 9000);         // (3)
fcgi->start();                                          // (4)
connect(fcgi, SIGNAL(newRequest(QFCgiRequest*)), ...);  // (5)
  1. Include the qfcgi.h header.
  2. Create an instance of the QFCgi class.
  3. Configure the listener. There are several listener available.
  4. Start the FastCGI system.
  5. Wait for incoming requests.

Have a look into the example directory where you can get through some real examples.

Prerequisites

Developed and tested against Qt V4.8.

Installation

CMake is used as the build system:

mkdir build
cd build
cmake ..
make
make install

Licence

See LICENSE file.

About

FastCGI implementation for Qt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.6%
  • CMake 4.4%
  • QMake 1.1%
  • C 0.9%