Discussion Board

Results 1 to 4 of 4
  1. #1
    Hello

    According to Qt documentation and Nokia examples, a Sqlite database in Symbian can only be created/accessed in the application's private folder.

    Is this limitation correct? Isn't there a connection option to use a specific file outside the application's private folder?

    The purpose is to share the same database between two different applications. Other alternatives/suggestions are appreciated.

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    This is limitation of Symbian application write access, rather than Qt or SQLite.

  3. #3
    I already have the write access capability and certificate. But I found the solution.

    The problem was not really the permission but the path to file. Usually in Qt, you should put the path as '/' as Qt replaces it according to the platform. But for the Sqlite driver I had to use '\\' as the Qt for Symbian was not handling it properly.

  4. #4
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    If the Qt documentation says that it's wrong. A SQLite DB can be in any valid, accessible directory.

    But, as you discovered, SQLite does not play by the rules with regard to file paths. You need to use '\\' instead of '/' and specify the full path.

Similar Threads

  1. Replies: 7
    Last Post: 2011-10-17, 06:24
  2. Add existing Sqlite database to Qt project
    By santijdelatorre in forum Qt
    Replies: 31
    Last Post: 2011-05-15, 01:20
  3. SQLite and or other database.
    By shawty in forum Mobile Java General
    Replies: 6
    Last Post: 2010-03-26, 11:22
  4. sqlite database on symbian devices
    By simmik in forum Python
    Replies: 2
    Last Post: 2007-05-17, 13:08
  5. Shared database - for Nokia experts!
    By yigalbeer in forum Symbian C++
    Replies: 3
    Last Post: 2006-08-04, 08:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved