QCreator - undefined reference link errors
I'm experimenting with the current release of QCreator, which so far is quite nice. I'm having a qmake issue however.
I have two projects:
1) core - library
2) test_core - console app
The core project includes one class MyClass. My test_core.cpp file simply does this:
When I build test_core I get undefined symbols. I've added the following to test_core.pro:
Code:
LIBS += -L..\core\debug -lcore
But that doesn't make any difference. I'm doing something silly - any ideas?
Re: QCreator - undefined reference link errors
There is a similar error msg in my project too!
But it's a compiler error: moc_netman.cpp:66: undefined reference to `NetMan::loginServer()'
Re: QCreator - undefined reference link errors
Did you export the class?