Results 1 to 10 of 10

Thread: QSQLITE Questions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSQLITE Questions

    Quote Originally Posted by larry104 View Post
    If I scroll down the view the last row I see is 257 - and this row is empty. Can you confirm that?
    No, I can see all 5000 rows using both Qt 4.1.5 and 4.2.1.

    Quote Originally Posted by larry104 View Post
    It looks like the driver does not tell the model that the data table has been changed.
    Yes and actually I've never heard about a database that does it. You have to invoke QSqlTableModel::select() to get new data.

  2. #2
    Join Date
    Jun 2006
    Location
    San Jose, CA
    Posts
    53
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSQLITE Questions

    No, I can see all 5000 rows using both Qt 4.1.5 and 4.2.1
    Hmm - Im using 4.2.0 /Linux/RHEL3.0. Let me install 4.2.1 next week.
    Thanks a lot.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSQLITE Questions

    Quote Originally Posted by larry104 View Post
    Im using 4.2.0 /Linux/RHEL3.0. Let me install 4.2.1 next week.
    AFAIK there shouldn't be any difference in this matter between Qt 4.2.0 and 4.2.1. Maybe the problem lies in SQLite?

  4. #4
    Join Date
    Jun 2006
    Location
    San Jose, CA
    Posts
    53
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSQLITE Questions

    So I installed 4.2.1 and it works fine now (on windows as well as linux).

Similar Threads

  1. Image sequence Questions...
    By Deep Thought in forum Qt Programming
    Replies: 5
    Last Post: 12th February 2016, 10:23
  2. QKeyEvent questions
    By bglidden in forum Qt Programming
    Replies: 1
    Last Post: 3rd October 2006, 06:29
  3. 2 Questions about layouts
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2006, 13:54
  4. Qt related questions and thoughts about getting job
    By AlexKiriukha in forum General Discussion
    Replies: 4
    Last Post: 26th January 2006, 12:25
  5. A few questions about Qt/Win
    By Bojan in forum Installation and Deployment
    Replies: 3
    Last Post: 16th January 2006, 09:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.