Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtSqlDatabase problems with Symbian
Forum Updated to NodeBB v4.3 + New Features

QtSqlDatabase problems with Symbian

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dmendizabal
    wrote on last edited by
    #1

    I'm trying to use the same code that works in my desktop and maemo platform into the symbian OS, but it is not working.
    I'm showing below the snipped of the code:

    @
    QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
    db.setDatabaseName(sFile);
    qDebug()<<"DB open: "<<m_db.open();
    @

    Result: "DB open: false"

    Is there anything to take in consideration in Symbian to create a database file?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AMahfouz
      wrote on last edited by
      #2

      No consideration, but you must do that :

      • add sql in pro file.
      • sFile is a right path for your db.

      Ahmed Mahfouz
      Assistant Lecturer
      Computer Science Department
      Faculty of Science
      Minia University
      Post Code: 61519

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved