PDA

View Full Version : Problems with MySQL on Ubuntu



neoclaw
20th June 2010, 18:18
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?

Lykurg
20th June 2010, 18:22
well, then properly the building is already complete.

neoclaw
20th June 2010, 19:10
hmm.. that may be the reason :p
But after I re-compiled the whole Qt package, and compiled this code:

#include <QCoreApplication>
#include <QtSql>

int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);

qDebug() << QSqlDatabase::drivers();

return a.exec();
}
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. :confused:

cutie.monkey
21st June 2010, 02:26
How do you recompile Qt package?