Add object files without one
I want to add a object files in pro file like this:
@LIBS += ../../bin/*.o@
but that also add main.o file. I try remove that:
@LIBS -= ../../bin/main.o@
but it don't work. How to do that correctly?
Why do you want to do that ? The linking part of the compiled code is already done for you through the makefile generated
It's a other project. I want to do a automatic MainWindow gui test, and I don't want to compile all project.
Then just create a unit test project and compile only it