What is INSTALL_ROOT under windows?
-
Can anybody answer this question?
Basically I am trying to copy a file to a specific location by using INSTALLS in qmake.
In other .pro files I am using QMAKE_POST_LINK which does not work here, because this is a subdir templatecopyConfigXml.path = ../../somewhere/config copyConfigXml.files = config.xm* INSTALLS += copyConfigXml
In the generated makefile I can find
-$(INSTALL_FILE) E:\Source\bla\blaSuite\config.xml E:$(INSTALL_ROOT)\Source\bla\blaSuite\..\..\somewhere\config
The file is not copied. Therefore I am stuck.
Any ideas?
-
Hi
and you did add build step for qmake
to do qmake install ? -
@koahnig
Well for me, i had to add
for it to actually copy anything.
not sure your case is the same.Tested with echo plugin
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugin
INSTALLS += targethad to add build step (make) and add install as parameter for it
to copy.
So its worth a shot, i think :) -
Simply added the additonal make step with argument "install" as shown above. It did work taht way also with my MinGW configuration. I confirmd that the file in question was copied.
However, it performs the install now for all subprojects as well. Not sure about side effects.
Basically the answer to my question would be nothing then. INSTALL_ROOT seems to be empty then.
Thanks a lot.