An open API service indexing awesome lists of open source software.

https://github.com/maxdesiatov/qdjango


https://github.com/maxdesiatov/qdjango

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

QDjango
Copyright (C) 2010-2011 Bolloré telecom
See AUTHORS file for a full list of contributors.

License
=======

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see .

Requirements
============

On Debian
----------

$ sudo aptitude install cmake libqt4-dev libqt4-sql-sqlite

On Mac OS X
-----------

$ sudo port install cmake qt4-mac

Building QDjango
================

$ mkdir build
$ cd build
$ cmake ..
$ make

See platform specific notes for applicable cmake options.

On Mac OS X
-----------

If you are running MacOS/X and want to build specifically for i386 on an
x86_64 machine, invoke cmake as:

$ cmake .. -DCMAKE_CXX_FLAGS="-arch i386" -DLINK_FLAGS="-arch i386"

Cross compiling for win32
-------------------------

To cross compile for win32 on a Debian machine, install the libqt4-mingw32-dev
package from:

http://dev.jerryweb.org/debian/pool/main/

Then invoke cmake as:

$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/mingw32.toolchain