[PyQt] pyqtdeploy - make - undefined MODULE_NAME
bl3a3ck at gmail.com
Sun Feb 15 07:18:07 GMT 2015
first you need to build sqlite module yourself
i don't know how to build it on mac or Linux but if windows
see here : https://code.google.com/p/sqlitebot/wiki/VisualStudio
this is my fastest way of doing it
you need to put thees values in "qmake" tab in pyqtdeploy
MODULE_NAME=\\\"sqlite3\\\" #this is the defines it need to build
INCLUDEPATH==>C:\sysroot-win-32\src\sqlite-184.108.40.206 #this is sqlite source
LIBS==>-LC:/sysroot-win-32/lib -lsqlite3 #this is the sqlite.lib generated
from the link above
change the directories that suites your os
On Sat, Feb 14, 2015 at 9:44 PM, David Cortesi <davecortesi at gmail.com>
> Trying to pyqtdeploy a native Mac OS app.
> I have built static Python, Sip and PyQt as per ,
> I think correctly, however my $SYSROOT now contains
> only include, lib, and share directories.
> It does not contain a src directory, but the doc
> for setting up Locations  seems to assume
> that $SYSROOT/src/Python-3.4.2 will exist.
> So instead I set the source directory to the original
> Python-3.4.2 folder, the one where
> I ran the pyqtdeploycli/qmake/make sequence.
> When pyqtdeploy runs make, the first make of a .c file
> fails with the message
> ../Downloads/Python-3.4.2/Modules/_sqlite/cache.c:261:9: error: use of
> undeclared identifier 'MODULE_NAME'
> Looking at that source, many files in the Modules
> directory use that identifier, but It is not defined in any
> header file or the Makefile.
> I conclude it should be defined as part of the Python
> make or make install, as part of building $SYSROOT/src,
> but that is not happening.
> Probably I am doing something stupidly wrong,
> I'd appreciate any suggestion of what.
> Dave Cortesi
>  http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt