[Qt-creator] Problem with latest Creator and Qt gits: QSqlDatabase: QSQLITE driver not loaded

Abdelrazak Younes younes.abdel at gmail.com
Thu Nov 5 14:09:25 CET 2009


Daniel Teske wrote:
> On Thursday 05 November 2009 10:41:06 ext Abdelrazak Younes wrote:
>   
>> Hello,
>>
>> I manage to build latest Creator with latest Qt with:
>>
>> /usr/local/Trolltech/Qt-4.6.0/bin/qmake -r ../qt-creator/qtcreator.pro
>> LD_LIBRARY_PATH=/usr/local/Trolltech/Qt-4.6.0/lib make
>>
>> And now Creator can be started, albeit with some errors (help is not
>> available):
>>
>> younes at sdu1:~/devel/qt/qt-creator-build2$
>> LD_LIBRARY_PATH=/usr/local/Trolltech/Qt-4.6.0/lib ./bin/qtcreator
>> QSqlDatabase: QSQLITE driver not loaded
>> QSqlDatabase: available drivers:
>>     
>
> That means that the sqlite plugin of qt was not compiled. Try rerunning 
> configure of qt and take a look at the output, it should tell you what is 
> disabled. You are probably missing some development libraries, though I'm not 
> sure which are needed for sqllite.
>   

Aha, yes you are right, installin lib-sqlite3-dev and running configure 
with '-system-sqlite' did it.

By the ways there any way to tell configure to not recompile everything 
but only QSql?

Thanks,
Abdel.


> daniel 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>   




More information about the Qt-creator-old mailing list