[Qt-interest] 答复: database exec sql

pengliang(彭亮) pengliang at founder.com
Wed Sep 1 10:29:50 CEST 2010


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




More information about the Qt-interest-old mailing list