Jan,
my system dont have any file named llibsqlite , in my filesystem
but i have
/usr/lib/libsqlite.so
/usr/lib/libsqlite.so.0
/usr/lib/libsqlite.so.0.8.6
/usr/lib/libsqlite3.so
/usr/lib/libsqlite3.so.0.8.6
my pro file have
LIBS += /usr/lib/libsqlite.so
INCLUDE +=/usr/include
QT += sql
HEADERS += mainMenu.h
SOURCES += main.cpp \
mainMenu.cpp
And getting the following err
mainMenu.o: In function `mainMenu::createMainMenu()':
/home/bala/test1/mainMenu.cpp:69: undefined reference to `sqlite3_errmsg'
collect2: ld returned 1 exit status
make: *** [test] Error 1
jan-118 wrote:
>
> afaik on unix you need this
>
> LIBS += -L/usr/lib -llibsqlite
>
>
>
> greensparker schrieb:
>> Im in Debian Linux.,
>> This is my pro file
>>
>> QT += sql
>> LIBS +=/usr/lib/libsqlite.so
>> INCLUDE +=/usr/include
>> HEADERS += mainMenu.h
>> SOURCES += main.cpp \
>> mainMenu.cpp
>>
>> headers in my mainMenu.cpp file
>>
>> #include "mainMenu.h"
>> #include <QSqlDriver>
>> #include "DBConnection.h"
>> #include <sqlite3.h> // path = usr/local/include/sqlite3.h
>>
>> same err im getting
>> :69: undefined reference to `sqlite3_errmsg'
>> collect2: ld returned 1 exit status
>>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
--
View this message in context:
http://old.nabble.com/how-to-get-the-Trigger%27s-Raise-err-in-Application-tp26091341p26129984.html
Sent from the SQLite mailing list archive at Nabble.com.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users