Results 1 to 4 of 4

Thread: Problems with MySQL on Ubuntu

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Problems with MySQL on Ubuntu

    When I try to compile the mysql plugin for Qt4 using "sudo make", I get this error: "make: Nothing to be done for 'first'". Any ideas on what I can do to fix this?

  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: Problems with MySQL on Ubuntu

    well, then properly the building is already complete.

  3. #3
    Join Date
    May 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems with MySQL on Ubuntu

    hmm.. that may be the reason
    But after I re-compiled the whole Qt package, and compiled this code:
    Qt Code:
    1. #include <QCoreApplication>
    2. #include <QtSql>
    3.  
    4. int main(int argc, char *argv[])
    5. {
    6. QCoreApplication a(argc, argv);
    7.  
    8. qDebug() << QSqlDatabase::drivers();
    9.  
    10. return a.exec();
    11. }
    To copy to clipboard, switch view to plain text mode 
    all output I get is: "( )", so I would assume no sql database drivers are installed...

    I thought the plugin was the problem, but it didn't help.

  4. #4
    Join Date
    Jul 2008
    Location
    Philippines
    Posts
    60
    Thanks
    9
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems with MySQL on Ubuntu

    How do you recompile Qt package?

Similar Threads

  1. Problems generating Mysql Server 4.1 Plugin
    By grantbj74 in forum Installation and Deployment
    Replies: 1
    Last Post: 1st September 2009, 07:19
  2. Qt 4 ver. for Ubuntu 8.04.1(problems building Stellarium)
    By Henry W. Peters in forum Installation and Deployment
    Replies: 2
    Last Post: 7th December 2008, 15:31
  3. Problems with Qt 4.3.4 and MySql
    By Headhunter_X in forum Installation and Deployment
    Replies: 9
    Last Post: 19th March 2008, 06:17
  4. Mysql drivers install problems
    By cyberboy in forum Qt Programming
    Replies: 20
    Last Post: 2nd February 2008, 14:11
  5. Link problems with static MySQL plugin
    By nurtsi in forum Installation and Deployment
    Replies: 4
    Last Post: 20th September 2007, 15:32

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.