Hello,

I am under windows with Qt5.
I have projects looking like this:

MyProjects
|--MyProject1
|----file1.cpp
|----file1.h
|----project1.pro
|--MyProject2
|----file2.cpp
|----file2.h
|----project2.pro

I would like to build both debug and release versions.
Everything goes fine until I try to install the targets.
I only want to install the release targets.

From MyProject1 folder, the nmake release-install command achieves this.

The problem I have is that from the top folder (MyProjects), the release-install target doesn't exist in the Makefile; and the nmake install command only installs the debug targets.

I see in the terminal that this command actually calls Makefile.debug install.

Do you have any idea on how to do such a thing ?
Maybe trying to set the release mode as default, but I don't know how to do it.

Thanks for your answers.