Results 1 to 5 of 5

Thread: Problem using the QPSQL plugin on Windows x64 in Debug mode

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem using the QPSQL plugin on Windows x64 in Debug mode

    Now it is getting strange:

    I removed the QApplication app(argc,argv) line which should be responsible for loading the plugins, startet in release mode and the plugin was still loaded:
    Qt Code:
    1. //QApplication app(argc,argv);
    2. MITK_INFO << "QSqlDatabase::drivers(): " << QSqlDatabase::drivers().join(QString("; ")).toLatin1().data() << "\n";
    To copy to clipboard, switch view to plain text mode 
    Output:
    Qt Code:
    1. QSqlDatabase::drivers(): QSQLITE; QPSQL7; QPSQL
    To copy to clipboard, switch view to plain text mode 

    I'm confused, I thought that the plugins are loaded during instantiation of QApplication?

  2. #2
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem using the QPSQL plugin on Windows x64 in Debug mode

    I have been experiencing the same problem on Windows XP 32 bit edition.

    I just want to comment on QApplication loading the plug-ins. It shouldn't do that and as you verified it doesn't. Plugins are only to be loaded when necessary.

    I am checking whether there is a bug report on this issue.

Similar Threads

  1. Replies: 1
    Last Post: 18th November 2009, 22:51
  2. Replies: 1
    Last Post: 2nd November 2009, 13:02
  3. Problem in building QT webkit in debug mode
    By sm38098 in forum Newbie
    Replies: 0
    Last Post: 31st March 2009, 06:23
  4. QPSQL plugin problem
    By tuxi in forum Qt Programming
    Replies: 0
    Last Post: 12th March 2007, 21:44
  5. Problem with Debug mode in KDevelop
    By zlatko in forum KDE Forum
    Replies: 1
    Last Post: 16th June 2006, 10:10

Tags for this Thread

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.