GithubHelp home page GithubHelp logo

guoyu07 / qdjango Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jlaine/qdjango

0.0 0.0 0.0 588 KB

QDjango, a Qt-based C++ web framework

License: GNU Lesser General Public License v2.1

QMake 1.66% C++ 97.78% C 0.31% CSS 0.01% HTML 0.01% JavaScript 0.01% Shell 0.22%

qdjango's Introduction

QDjango - a Qt-based C++ web framework
Copyright (c) 2010-2015 Jeremy Lainé

Build Status

About

QDjango is a web framework written in C++ and built on top of the Qt library. Where possible it tries to follow django's API, hence its name.

It is released under the terms of the GNU Lesser General Public License, version 2.1 or later.

To learn more about QDjango, please read the online documentation.

Requirements

QDjango builds and is auto-tested both with Qt 4 and Qt 5.

Qt 4 on Debian:

sudo apt-get install libqt4-dev

Qt 5 on Debian:

sudo apt-get install qtbase5-dev

Qt 4 on Mac OS X:

sudo port install qt4-mac

Building QDjango

mkdir build
cd build
qmake ..
make

You can pass the following arguments to qmake:

PREFIX=<prefix>                 to change the install prefix
                                default:
                                    unix:  /usr/local on unix
                                    other: $$[QT_INSTALL_PREFIX]
QDJANGO_LIBRARY_TYPE=staticlib  to build a static version of QDjango

Mailing list

If you wish to discuss QDjango, you are welcome to join the QDjango group.

Notes

MSSQL

Fast forward cursors are used by default. This greatly improves performance, and has the added benefit of implicitly converting to a static cursor when it needs to. Unfortunately, this also means that these cursors can block a connection to the server. In order to deal properly with this situation, there are a few requirements:

  • Connection pooling must be enabled in your ODBC manager
  • You must enable Multiple Active Result Sets in the QODBC driver using "MARS_Connection=Yes" in the connection string
  • You must enable connection pooling in the QODBC driver using the "SQL_ATTR_CONNECTION_POOLING" attribute

qdjango's People

Contributors

edwardbetts avatar israelins85 avatar jlaine avatar mbroadst avatar rohieb avatar swex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.