Results 1 to 2 of 2

Thread: QTableView does not display time string correctly

  1. #1
    Join Date
    Jun 2007
    Location
    Louisiana
    Posts
    77
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default QTableView does not display time string correctly

    I store a time formated string in a SQLite database text column. When displayed in a QTableModel / QTableView the time string is displayed like 13??? instead of 13:12:15.
    This is true in QSLBrowser application as well.

    Is this a Qt bug or is there something I am missing somewhere?

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTableView does not display time string correctly

    Well, it might be an encoding problem.
    What encoding does the database uses?

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.