You seem to have tried CONFIG+=static, but this is not intended for this use case. This is used when you want to use build your library for statics after the build is complete.
, Qt, .
qmake:
LIBS += -L/path/to/the/static/QtCore -lQtCore
, :
LIBS += /path/to/the/statis/QtCore/libQtCore.a