I need to install a few resources so i used INSTALLS in .pro file.
The problem is that i have a few resources with whitespaces in their names, and also some symbols. Im working on Windows 7.
I have tried using quote() but it does work, it doesnt add " " nor ' ' to the string.
Documentation.path = $$DISTDIR/docs/
Documentation.files = $$quote(docs/*)
Mingw.path = $$BINDIR
Mingw.files = $$quote($$PWD/$$THIRDPARTY/mingw/lib/libstdc++-6.dll) \
$$quote($$PWD/$$THIRDPARTY/mingw/lib/libgcc_s_dw2-1.dll)
INSTALLS += Documentation Mingw
Documentation.path = $$DISTDIR/docs/
Documentation.files = $$quote(docs/*)
Mingw.path = $$BINDIR
Mingw.files = $$quote($$PWD/$$THIRDPARTY/mingw/lib/libstdc++-6.dll) \
$$quote($$PWD/$$THIRDPARTY/mingw/lib/libgcc_s_dw2-1.dll)
INSTALLS += Documentation Mingw
To copy to clipboard, switch view to plain text mode
I've tried adding quotes inside the $$quote(), wrapping it with double and single quotes, still nothing. The result is just the same as without using the $$quote(). I get the : "The system cannot find the file specified."
Any idea how can i solve this? because i could change a pdf filename, but not the mingw dll.
Bookmarks