[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes
From: Ismail Dönmez <ismail.donmez () boun ! edu ! tr>
Date: 2004-01-04 10:44:50
Message-ID: 20040104104450.0307D93EA () office ! kde ! org
[Download RAW message or body]
CVS commit by cartman:
My compile fix commits. But I still get error when krecipes starts :
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers: QSQLITE
Could not open DB as user: cartman. You may not have permissions. Exiting.
Ideas uga?
M +2 -0 configure.in.in 1.12
M +2 -2 src/Makefile.am 1.56
M +2 -0 src/propertycalculator.cpp 1.16
M +2 -0 src/dialogs/dietwizarddialog.h 1.20
M +2 -0 src/exporters/htmlexporter.h 1.6
M +2 -0 src/exporters/kreexport.h 1.13
--- kdenonbeta/krecipes/configure.in.in #1.11:1.12
@@ -17,6 +17,8 @@
AC_SUBST(MYSQL_INC)
AC_SUBST(MYSQL_LIBS)
+ AC_DEFINE(HAVE_MYSQL, 1, [have MySQL])
have_mysql="true"
else
+ AC_DEFINE(HAVE_MYSQL, 0, [have MySQL])
have_mysql="false"
fi
--- kdenonbeta/krecipes/src/Makefile.am #1.55:1.56
@@ -8,5 +8,5 @@
# set the include path for X, qt and KDE
-INCLUDES = -I$(srcdir) -I$(srcdir)/DBBackend -I$(srcdir)/DBBackend/SQLite \
$(all_includes) +INCLUDES = -I$(srcdir) -I$(MYSQL_INC) -I$(srcdir)/DBBackend \
-I$(srcdir)/DBBackend/SQLite $(all_includes)
# the library search path.
@@ -20,5 +20,5 @@
if link_lib_MYSQL
-mysql_libadds =DBBackend/MySQL/libkrecmysql.la -lmysqlclient
+mysql_libadds =DBBackend/MySQL/libkrecmysql.la $(MYSQL_LIB)
endif
--- kdenonbeta/krecipes/src/propertycalculator.cpp #1.15:1.16
@@ -10,4 +10,6 @@
#include "propertycalculator.h"
+#include <math.h> // For fabs()
+
#include <kdebug.h>
--- kdenonbeta/krecipes/src/dialogs/dietwizarddialog.h #1.19:1.20
@@ -14,4 +14,6 @@
#define DIETWIZARDDIALOG_H
+#include <stdlib.h> // For RAND_MAX
+
#include <qcheckbox.h>
#include <qhbox.h>
--- kdenonbeta/krecipes/src/exporters/htmlexporter.h #1.5:1.6
@@ -12,4 +12,6 @@
#define HTMLEXPORTER_H
+#include <math.h> // For ceil()
+
#include "baseexporter.h"
--- kdenonbeta/krecipes/src/exporters/kreexport.h #1.12:1.13
@@ -13,4 +13,6 @@
#define KREEXPORTER_H
+#include <stdlib.h> // For getenv()
+
#include "baseexporter.h"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic