Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Dec 2008

    qml executeSql failure

    I installed qt_installer.sis and sqlite3.sis
    I copy the code from "declarative/sqllocalstorage/hello.qml"
    I created a qtquick app and packaged into sis. (use the command "qmake-symbian" and "make sis" on ubuntu10.04)
    But it can not get the right results,It has been shown "?"

    in code:

    var db = openDatabaseSync("QDeclarativeExampleDB", "1.0", "The Example QML SQL!", 1000000);
    text1.text += "\n"+db.version //I can got the version, I thought openDatabaseSync should be successful

    But when i modified the OfflineStoragePath use "viewer.engine() -> setOfflineStoragePath ("E: / / DB //");",I found app just created a ini file, but no database files.The openDatabaseSync function also failed

    on my ubuntu 10.04, it runs on the emulator ok.

    A few days ago, I used the same code to run successfully on my E71, but now the problem appears, the new APP can not use the database in qml.
    Last edited by jamiesun; 2011-01-14 at 08:09.

Similar Threads

  1. [Qt QML] Questions regarding QML Performance
    By SeanZhang in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-05-05, 13:07
  2. Qml to C++
    By cristids in forum Qt
    Replies: 1
    Last Post: 2010-06-14, 15:58
  3. Failure of MEM 02 (Failure of low memory during execution.
    By ajitc in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-05-31, 21:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts