QDjango,基于Qt库的C++ Web框架

网友投稿 1093 2022-10-21

QDjango,基于Qt库的C++ Web框架

QDjango,基于Qt库的C++ Web框架

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

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 buildcd buildqmake ..make

You 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 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 managerYou must enable Multiple Active Result Sets in the QODBC driver using "MARS_Connection=Yes" in the connection stringYou must enable connection pooling in the QODBC driver using the "SQL_ATTR_CONNECTION_POOLING" attribute

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:#yyds干货盘点# 面试必刷TOP101:二分查找-I
下一篇:自我总结(集训女队员导致的后续事件)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~