Results 1 to 5 of 5

Thread: test of fiability of a qt application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2012
    Posts
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default test of fiability of a qt application

    hi,
    sorry to bother u but i'll ask u to help me with this
    can you help me with the test of fiability and speed of an application
    i want to generate data and populate a base with 1000 records so that i can test it

    i'll be thankfull if you help me
    thanks again

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: test of fiability of a qt application

    what is fiability?

    "i want to generate data and populate a base with 1000 records so that i can test it"
    Great. So where is your Qt-related question?
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: test of fiability of a qt application

    what is fiability?
    I think the O.P. means "viability".

    I have used Qt to generate a database containing over 12 million records, with a total size of 300 - 400 GB. The only issues are those associated with the performance of PostgreSQL itself, not with Qt. The database takes a long time to build, because there are several indexes. After it is built, retrieval is nearly instantaneous.

    Qt is almost irrelevant - it simply takes an SQL string and passes it to the PostgreSQL database engine, and that is where all the work gets done. So of course, Qt is viable as the GUI front end for a database application.

  4. #4
    Join Date
    Mar 2012
    Posts
    18
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: test of fiability of a qt application

    thank you for reply i would like you to give me a code if you have it
    i want to test the fiability and the performane of the qt application associated with postgresql database
    i just need some code to do this test
    sorry to bother,i'm just new to QT and i have some problems with all this programming
    it has been just 1 year and a half that i started to study programming
    thanks again for getting interested in my post

  5. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: test of fiability of a qt application

    Write it yourself. Seriously. Start here to connect to your database and then use QSqlQuery to execute SQl statements to create a table and populate it.

    We can already tell you that using Qt to talk to PostgreSQL databases is viable, in fact routine. For large data volumes the database engine, not Qt, will generally be the limiting factor. 1000 records is not a large volume and even in a poorly designed database of this size performance is unlikely to be an issue. On the other hand, using a full blown RDBMS for 1000 records could be considered overkill for a single user.
    Last edited by wysota; 2nd April 2012 at 09:50.

Similar Threads

  1. test my QT application
    By anand_2861985 in forum Installation and Deployment
    Replies: 1
    Last Post: 24th November 2010, 10:32
  2. How to test Qt4 application programs ?
    By xjtu in forum Qt Programming
    Replies: 3
    Last Post: 17th June 2008, 08:13
  3. A.I. test. A.I. test.
    By Kumosan in forum General Discussion
    Replies: 3
    Last Post: 19th October 2007, 19:19
  4. Qt test application
    By kunalnandi in forum Newbie
    Replies: 1
    Last Post: 12th October 2007, 11:27

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.