Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.3.3
-
None
Description
qmake doesn't support an INSTALL_ROOT with spaces
Example:
1.echo "int main() {}" > test.cpp
2.qmake –project –o test.pro
3.echo –e "target.path = /foo\nINSTALLS += target" >> test.pro
4.qmake
5.make install INSTALL_ROOT=`pwd`/t\ e\ s\ t
Inside the makefile it will result as the following which does not allow for INSTALL_ROOT to have spaces :
install_target: first FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/foo/ || $(MKDIR) $(INSTALL_ROOT)/foo/
It would be nice to have the following:
install_target: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/foo/" || $(MKDIR) "$(INSTALL_ROOT)/foo/"