Hi, I've got some strange problems using a sqlite dabatase on my nokia N78.
I add my sqlite db on my .pro file in this way:
# Add files and directories to ship with the application
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
file.source = sms.sqlite
file.path = C:/workspace/SMSArchive
DEPLOYMENTFOLDERS += file
symbian:TARGET.UID3 = 0xE37DE095
# Allow network access on Symbian
#symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment
# the following lines and add the respective components to the
# MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
QT += sql
#SOURCES, HEADERS are OK!
# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()
# Add files and directories to ship with the application
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
file.source = sms.sqlite
file.path = C:/workspace/SMSArchive
DEPLOYMENTFOLDERS += file
symbian:TARGET.UID3 = 0xE37DE095
# Allow network access on Symbian
#symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment
# the following lines and add the respective components to the
# MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
QT += sql
#SOURCES, HEADERS are OK!
# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()
To copy to clipboard, switch view to plain text mode
Then if I try to install my program on the phone memory I can query my data correctly, but if I install it on the external memory card it doesn't work!
Bookmarks