Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.7.0
-
None
Description
The mkspecs tell qmake how to make a directory. Unfortunately, while Unix platforms have mkdir -p, Windows does not. As a result if you have an install rule:
foo.files = foo foo.path = /exists/missing/missing
The Makefile ends up with a statement like this:
if not exist /exists/missing/missing mkdir /exists/missing/missing
Both "if not exist" and "mkdir" come from the mkspec.
The problem with this statement is that it fails due to the first missing directory. mkdir cannot create multiple levels of directories.
It would be great if qmake could generate code more like this:
if not exist /exists mkdir /exists if not exist /exists/missing mkdir /exists/missing if not exist /exists/missing/missing mkdir /exists/missing/missing
Attachments
Issue Links
- resulted from
-
QTMOBILITY-601 Installation error on Windows: "No such file or directory"
- Closed