Fix qmldir copying in debug and release builds on Windows
This is a backport ofbb106cc02ce6c8from 5.7. In a parallel build we may end up copying the qmldir file at the same time, which doesn't work on Windows due to file locking. Apply the same guard for the copying condition as in commit770a0c91f3. Task-number: QTBUG-57153 Change-Id: Ibac759b16cebaf04f5d2f785211b62071aa656a8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
parent
0810d48bc4
commit
435e7b17a3
|
|
@ -28,4 +28,8 @@ qmldir.files = $$fq_qml_files
|
|||
qmldir.path = $$instbase/$$TARGETPATH
|
||||
INSTALLS += qmldir
|
||||
|
||||
!prefix_build: COPIES += qmldir
|
||||
!debug_and_release|!build_all|CONFIG(release, debug|release) {
|
||||
!prefix_build {
|
||||
COPIES += qmldir
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue