[SOLVED] Error LNK2019
-
Hi guys!
I am beginner with QT/C++.
And need to connect to a database (SQL Server) and created a simple program to test the connection.
But returned me some errors
Erro:
!http://i.imgur.com/IQ2GL2O.png(http://i.imgur.com/IQ2GL2O.png)! -
-
That's worked, thanks SGaist.
But why do I need to run qmake?
Whenever I create a new class necessary to run qmake?
Thx again.
-
Because you added a new module to use with your application
Not when adding new classes. However you will have to if you add/remove the Q_OBJECT macro in your QObject derived classes.