Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 14:56:26 -0600
From:      "GERARDO ENRIQUE PAREDES MANCIA" <g.paredes@unitec.edu>
To:        freebsd-questions@freebsd.org
Subject:   Qt sql drivers
Message-ID:  <200209201456.26550.g.paredes@unitec.edu>

next in thread | raw e-mail | index | archive | help
I have tried to compile Qt-3.0.5 with sql plugin support enabled, adding =
the=20
following line to the Makefile:

                -plugin-sql-mysql=20

which is what configure -help says, i was just wondering if they are not=20
enabled by default, it maybe means, sql plugin support in Qt is broken fo=
r=20
FreeBSD, am i right?, anyways, if anyone knows a fix to this here is the=20
error:  qsql_mysql.h is there in=20
work/qt-x11-free-3.0.5/src/sql/drivers/mysql.

Please reply to me and to the list as well since i am not subscribed.



c++ -c -pipe -fno-exceptions -I/usr/local/include -Wall -W -O -pipe=20
-march=3Dpentiumpro -fmemoize-lookups -fsave-memoized -pthread -D_THREAD_=
SAFE=20
-fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN=20
-I/usr/local/include/freetype2 -I/usr/local/include=20
-I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/include=20
-I.moc/release-shared-mt/=20
-I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/mkspecs/freebsd-g++=
 -o=20
=2Eobj/main.o main.cpp
In file included from main.cpp:38:
=2E./../../../src/sql/drivers/mysql/qsql_mysql.h:49: mysql.h: No such fil=
e or=20
directory
In file included from main.cpp:38:
=2E./../../../src/sql/drivers/mysql/qsql_mysql.h:69: syntax error before =
`*'
=2E./../../../src/sql/drivers/mysql/qsql_mysql.h:107: syntax error before=
 `*'
gmake[3]: *** [.obj/main.o] Error 1
gmake[3]: Leaving directory=20
`/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/plugins/src/sqldrive=
rs/mysql'
gmake[2]: *** [sub-mysql] Error 2
gmake[2]: Leaving directory=20
`/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/plugins/src/sqldrive=
rs'
gmake[1]: *** [sub-sqldrivers] Error 2
gmake[1]: Leaving directory=20
`/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/plugins/src'
gmake: *** [sub-plugins] Error 2
*** Error code 2


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209201456.26550.g.paredes>