[Qt-interest] 答复: 答复: database exec sql
pengliang(彭亮)
pengliang at founder.com
Wed Sep 1 11:21:25 CEST 2010
Hi:
Still failed, whether It maybe fontconfig-2.6.0.tar.gz problem?
Information:
g++ -m64 -Wl,-rpath,/opt/qtsdk-2010.04/qt/lib -o database_test main.o mainwindow.o moc_mainwindow.o -L/opt/qtsdk-2010.04/qt/lib /opt/qtsdk-2010.04/qt/lib/libQtGui.so -L/opt/qtsdk-2010.04/qt/lib -L/usr/X11R6/lib64 -lQtSql -lQtGui -lQtCore -lpthread
/opt/qtsdk-2010.04/qt/lib/libQtGui.so: undefined reference to `FcFreeTypeQueryFace'
collect2:
Thanks
Ken
________________________________
发件人: Gopalakrishna Bhat [mailto:gopalakbhat at gmail.com]
发送时间: 2010年9月1日 16:40
收件人: pengliang(彭亮)
抄送: qt-interest at trolltech.com
主题: Re: [Qt-interest] 答复: database exec sql
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/aef73821/attachment.html
More information about the Qt-interest-old
mailing list