Results 1 to 9 of 9

Thread: Import PostgreSQL Values to QT

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Import PostgreSQL Values to QT

    Hello everybody,

    I have a PostreSQL Database. I am able to import values to a listView for example.
    My problem is:
    I have in a table a value like this: "lächerlich" .
    I get in my listview l[]cherlich

    How could i get the exactly value on qt?

    Qt Code:
    1. QSqlQuery select("select language1, plural, language2, description from words_tbl order by language1");
    2. while(select.next())
    3. {
    4. QString language1 = select.value(0).toString();
    5. ...
    To copy to clipboard, switch view to plain text mode 


    Thanks
    Last edited by raphaelf; 16th May 2007 at 14:20.
    Think DigitalGasoline

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.