[Qt-interest] 答复: database exec sql
Gopalakrishna Bhat
gopalakbhat at gmail.com
Wed Sep 1 10:39:45 CEST 2010
Hi,
It looks like a linker error. Just check your pro file to check that it
added in the LIBS section. If not just add it.
With regards,
Gopalakrishna Bhat
On Wed, Sep 1, 2010 at 1:59 PM, pengliang(ÅíÁÁ) <pengliang at founder.com> wrote:
> Hi
>
> I have installed fontconfig-2.6.0.tar.gz, but still warning, looks
> below:
> OS: linux 2.6.18-92.el5 x86_64
> Qt: 4.6.3
>
>
> Please help me, thanks.
> --------------------------------------------------------------------
> L/opt/qtsdk-2010.04/qt/lib -lQtGui -L/opt/qtsdk-2010.04/qt/lib
> -L/usr/X11R6/lib64 -lQtCore -lpthread
> /opt/qtsdk-2010.04/qt/lib/libQtGui.so: undefined reference to
> `FcFreeTypeQueryFace'
> collect2: ld è¿å 1
> make: *** [untitled8] é误 1
> make: Leaving directory `/home/incam/testQ/untitled8-build-desktop'
> The process "/usr/bin/make" exited with code %2.
> Error while building project untitled8 (target: Desktop)
> When executing build step 'Make'
> --------------------------------------------------------------------
>
> -----ÓʼþÔ¼þ-----
> ·¢¼þÈË: qt-interest-bounces at trolltech.com [mailto:
> qt-interest-bounces at trolltech.com] ´ú±í Nikolay Moskvichev
> ·¢ËÍʱ¼ä: 2010Äê8ÔÂ31ÈÕ 15:59
> ÊÕ¼þÈË: qt-interest at trolltech.com
> Ö÷Ìâ: Re: [Qt-interest] database exec sql
>
> Hello, pengliang(ÅíÁÁ)
> 31.08.2010 8:02 you wrote:
> > Hi All:
> >
> > Please see the below picture, I don¡¯t know why can not execute sql
> > but open is true?
> >
> > And I execute sql in terminal, all are ok.
> >
> > Thanks
> >
>
> In your terminal it looks like you use mysql, but in your code you use
> SQLITE. Are you shure that SQLITE supports "show databases"?
> Looks like not:
>
> SQLite version 3.2.8
> Enter ".help" for instructions
> sqlite> show databases;
> SQL error: near "show": syntax error
> sqlite>
>
>
> > Ken
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100901/5e23cbc0/attachment.html
More information about the Qt-interest-old
mailing list