Use xcopy everywhere on Windows.

--HG--
branch : develop
master
Roman Telezhynskyi 2015-10-24 09:49:46 +03:00
parent 95ec8ec1d4
commit ad58994c67
1 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,16 @@
win32{
unset(QMAKE_COPY)
# Because "copy" doesn't support files that containe plus sign (+) in name we will use xcopy instead.
unset(QMAKE_COPY)
QMAKE_COPY = xcopy /y
unset(QMAKE_COPY_FILE)
QMAKE_COPY_FILE = xcopy /y
unset(QMAKE_INSTALL_FILE)
QMAKE_INSTALL_FILE = xcopy /y
unset(QMAKE_INSTALL_PROGRAM)
QMAKE_INSTALL_PROGRAM = xcopy /y
}
CONFIG(release, debug|release){