Results 1 to 2 of 2

Thread: How simply and generally bind data from queries to Qt widgets?

  1. #1
    Join Date
    Dec 2008
    Posts
    29
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How simply and generally bind data from queries to Qt widgets?

    Hi programmers,

    some time ago, I needed Oracle connections working efectively in multithreading environment with massive paralelism. So I had to build a separate layer on the top of OCCI library (not OCI) to be able to use SCP and some other functionality provided by the OCCI, did some hacks to went over some bugs... In those days this layer was ment just as (P)SQL command executer and simple (P)SQL queries provider.

    Now the customers come with other requests and I am looking for the simplest way to bind gained data to Qt widgets. The first idea is to take existing db layer and transform it to custom QtSql database plugin. Is there any better solution?

    thanks for answers..
    Last edited by seim; 7th January 2009 at 23:05.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How simply and generally bind data from queries to Qt widgets?

    If you manage to create a driver out of your database backend then you can use QDataWidgetMapper as a middleware between the database and Qt widgets.

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.