Results 1 to 13 of 13

Thread: QSqlDatabase: QMYSQL driver not loaded

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: QSqlDatabase: QMYSQL driver not loaded

    Quote Originally Posted by onder
    QSqlError(-1, "", "")
    So it seems to work and most probably the problem lies in your code. As I already wrote, make sure you create QApplication or QCoreApplication instance before you use classes from the QtSql module.

  2. The following user says thank you to jacek for this useful post:

    onder (15th August 2006)

  3. #2
    Join Date
    Jun 2006
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    2

    Default Re: QSqlDatabase: QMYSQL driver not loaded

    hi,

    i understood but late understood.
    you are right : problem QApplication instance problem.
    thanks a lot

    Onder

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49

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.