I followed this tutorial Porting Simple Android List Application to Symbian with Qt
to create Database app.
As I suppose QT have problem with import js file needed to connect to DB.
When I click and hold any item and select edit I get in console this:
But when i add manually js file into:
file:///C:/QtSDK/Simulator/Qt/mingw/imports/com/nokia/symbian.1.1/PageStack.js:132: Error: Error while loading page: file:///C:/Users/Michal/QT/Andjsapp-build-simulator-Simulator_Qt_for_MinGW_4_4__Qt_SDK__Release/qml/Andjsapp/EditPage.qml:3 Script file:///C:/Users/Michal/QT/Andjsapp-build-simulator-Simulator_Qt_for_MinGW_4_4__Qt_SDK__Release/qml/Andjsapp/script.js unavailable
file:///C:/Users/Michal/QT/Andjsapp-build-simulator-Simulator_Qt_for_MinGW_4_4__Qt_SDK__Release/qml/Andjsapp/script.js:-1 File not found
It works fine and it display Edit form.
Is this a QT bug or its impossible to import js file in Symbian projects?
And how can I import js file when I want to test it on Symbian Device?
Maybe its one line in *.pro file?
App is available here: https://dl.dropbox.com/u/6412001/Andjsapp.zip
I know there is tutorial for implement SQLite in c++ but its too complicated for me because I want to use qml for design views.
Maybe someone can share with me demo app where is used C++ implementation of SQLite and qml forms.
Best Regards, Michael