Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.13.0
-
None
-
Windows 10
Qt 5.13
Description
I've a small home project in Qt which I'd like to use on both Windows and linux.
It has a config folder, which stores some json config files, which I'd like to copy where the binaries are during build.
The following works flawlessly on linux:
# based on: https://dragly.org/2013/11/05/copying-data-files-to-the-build-directory-when-working-with-qmake/
copyconfig.commands = $(COPY_DIR) $$PWD/res/config $$OUT_PWD
first.depends = $(first) copyconfig
export(first.depends)
export(copyconfig.commands)
QMAKE_EXTRA_TARGETS += first copyconfig
But fails on Windows with the following error:
xcopy /s /q /y /i D:/Dev/qWindowApp/app/res/config D:/Dev/builds/qWindowApp/qPackVideo-debug/app Invalid number of parameters