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." <[email protected]> >> Subject: Re: [Qt-creator] Nokia SDK and State Machine Framework on >> linux >> To: [email protected] >> Message-ID: >> <[email protected]> >> 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 <[email protected]> >> >>> 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 > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator -- Bill King, Software Engineer Qt Development Frameworks, Nokia Pty Ltd Brisbane Office _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
