I want to build my resources with qmake as follows [Qt 5.5]:
imageTarget.target = images.rcc imageTarget.depends = $$PWD/images.qrc imageTarget.commands = r
With
QMAKE_EXTRA_TARGETS += imageTarget
you just define a new target - but it is not automatically built when running make.
make
Try to add
PRE_TARGETDEPS += images.rcc
This should automatically build a new images.rcc when running make if images.qrc has changed.
images.rcc
images.qrc