Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlaine/qdjango
QDjango, a Qt-based C++ web framework
https://github.com/jlaine/qdjango
Last synced: 13 days ago
JSON representation
QDjango, a Qt-based C++ web framework
- Host: GitHub
- URL: https://github.com/jlaine/qdjango
- Owner: jlaine
- License: lgpl-2.1
- Created: 2013-11-09T10:51:10.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T21:53:35.000Z (over 6 years ago)
- Last Synced: 2024-10-22T22:53:33.451Z (22 days ago)
- Language: C++
- Size: 581 KB
- Stars: 268
- Watchers: 38
- Forks: 96
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE.LGPL
Awesome Lists containing this project
README
QDjango - a Qt-based C++ web framework
Copyright (c) 2010-2015 Jeremy Lainé[![Build Status](https://travis-ci.org/jlaine/qdjango.png)](https://travis-ci.org/jlaine/qdjango)
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](http://doc.qdjango.org/).
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 ..
makeYou can pass the following arguments to qmake:
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 QDjangoMailing list
============If you wish to discuss QDjango, you are welcome to join the [QDjango group](http://groups.google.com/group/qdjango).
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]( http://technet.microsoft.com/en-us/library/aa172573(v=sql.80).aspx). 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](http://www.unixodbc.org/doc/conn_pool.html)
- 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