Results 1 to 2 of 2

Thread: Conect and do select in a database mysql

  1. #1
    Join Date
    Aug 2009
    Posts
    38
    Thanks
    3

    Default Conect and do select in a database mysql

    Hi,

    I must to do some select in a database MySQL with qt.
    Could you say how could I do connect with the database and execute select?

    Many thanks and sorry for my english!

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Conect and do select in a database mysql

    Quote Originally Posted by mmm286 View Post
    Could you say how could I do connect with the database and execute select?
    There is a very easy way: Go and read the documentation!!! Have a special look at QSqlDatabase and QSqlQuery. At the detailed description you find your code snippets.

Similar Threads

  1. MySQL database ,Garbled
    By weixj2003ld in forum Qt Programming
    Replies: 7
    Last Post: 9th June 2009, 14:24
  2. Select query using mysql for searching
    By sinha.ashish in forum Qt Programming
    Replies: 4
    Last Post: 10th April 2008, 06:14
  3. Putting and getting images from MySQL database?
    By allensr in forum Qt Programming
    Replies: 2
    Last Post: 13th May 2007, 21:47
  4. Qt and MySQL Database Connection
    By shamik in forum Qt Programming
    Replies: 41
    Last Post: 6th October 2006, 12:48
  5. Replies: 8
    Last Post: 7th March 2006, 13:40

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.