Don't know, how can I check that?
I renamed the makefile and loaded mysql.pro into creator. I get 'no such file' on mysql.h in qsql_mysql.h:Try by removing the Makefile and opening the .pro file in QTCreator that comes with the qtsdk-2010.05. If you build it in QT creator, it might use the qtsdk libraries and not /usr/lib/qt4
I tried adding some paths to the pro file and run qmake again, no luck.Try to also include the mysql required paths and libraries in the .pro file.
I found out, the docs tell you to 'qmake "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient_r" mysql.pro' but /usr/local/include is empty on my ubuntu box. And /usr/local/lib contains only a python file.
So maybe all I need to figure out is a better qmake line?
@unit, echo $QTDIR produces an ampty line, strange because I ran the installer from the nokia site.
Can anyone direct me to documentation what these environment variables should be?
Help appreciated.
Bookmarks