[Qt-creator] QtSql library

Bill King bill.king at nokia.com
Mon Jul 12 02:42:20 CEST 2010


 Try adding "QT += sql" to your project.


On 07/12/2010 12:33 AM, ext Anonymous user wrote:
> Hi again,
>
> I finally solved that problem about selecting the qt version.
>
> Now I have a,new problem: 
>
> I receive an error on: #include <QtSql> It sais QtSql not such file or directory.
>
> It worked fine on Windows. But not now here in linux.
>
> Is there some solution. Another similar library.
>
> Thank you,
>
> A. Cano
>
>> Message: 5
>> Date: Sun, 11 Jul 2010 09:47:12 +0300
>> From: "Alex T." <dioxinu at gmail.com>
>> Subject: Re: [Qt-creator] Nokia SDK and State Machine Framework on
>> 	linux
>> To: qt-creator at trolltech.com
>> Message-ID:
>> 	<AANLkTinAovbmcyVtKHF1Im5YXtSfaEL1h_9tGKz4iKlZ at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Who is giving you an error? A compiler or linker? This library is in QtCore.
>> Probably you have to check your CFLAGS/CXXFLAGS and/or LDFLAGS.
>>
>> 2010/7/11 Antonio Cano G?mez <antonio.cano.gomez at ovi.com>
>>
>>>  Hi,
>>>
>>> I downloaded the Nokia SDK for linux 64 and tried to compile an aplication
>>> for symbyan.
>>>
>>> This application compiled correctly for Nokia SDK in Windows.
>>>
>>> But when I try to compile the same source code for Nokia SDK in Linux, I
>>> receive the error that the library for the state machine is not available.
>>>
>>> Please, could someone tell me if there is to way to include this library or
>>> when it is going to be offivially available for linux version.
>>>
>>> Thanks,
>>>
>>> Toni
>>>
>>>
>>> -------------------------------------------------------------- Ovi Mail:
>>> Making email access easy
>>> http://mail.ovi.com
> --------------------------------------------------------------
> Ovi Mail: Making email access easy
> http://mail.ovi.com
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator


-- 
Bill King, Software Engineer
Qt Development Frameworks, Nokia Pty Ltd
Brisbane Office




More information about the Qt-creator-old mailing list