I'm sorry, I don't speak english very well. So I have a big problem with QtCreator and Mysql.
I wanted to use mysql++ with QTCreator, but it returned me:
error: undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'
So after some researches, I did which is explained in this website, but I have neither mysql folder in /plugins/sqldrivers nor mysql.pro. I don't understand the step 3 :
3.After this, just need to compile the QT code using the “QMYSQL” driver.
My OS is Debian Wheezy
Could you help me please?
Thank you
Edit1:
I found out this thread:
Why simple mysql++ code compiles standalone, but not in project?
wich explain how to solve this problem.
I've to pass in command line when I'm compiling the parameters:
-lmysqlclient -lmysqlpp
It perfectly works.
But how could I "pass" this parameters into QtCreator?
Thank you.