[PyQt] pyqtdeploy : enable Additional modules
Phil Thompson
phil at riverbankcomputing.com
Mon Feb 2 12:37:13 GMT 2015
On 01/02/2015 6:50 pm, MOHAMED BLACK wrote:
> Hi Phil
>
> finally i was able to deploy my app with sqlite support
>
> but found some issue with pyqtdeploy "Standard Library" page
> the sqlite module require :
> DEFINES==>MODULE_NAME="sqlite3"
> INCLUDEPATH==>C:\sysroot-win-32\src\sqlite-3.8.3.1
> LIBS==>-LC:/sysroot-win-32/lib -lsqlite3
>
> but after i insert them in the "Standard Library"
> and build the project the .pro file doesn't have the entered value
> correctly
>
> i attached the .pdy and the generated .pro with some comments
> i know i can use "qmake" page to insert them directly and it worked
> but i thought it's better to tell about my experience
I've now fixed the problem with defining MODULE_NAME. You must enter
exactly what you would if you were writing the .pro file yourself. In
other words...
MODULE_NAME=\\\"sqlite3\\\"
The issue with LIBS shouldn't be a problem (unless it's different on
Windows?).
Phil
More information about the PyQt
mailing list