qt4 - Copy files and folders from directory in QT pro file -
i want copy files , directory source folder other directory
the code tried below mentioned
binary_path = $$pwd/../bin/ resource_path = $$pwd/../resources/ qt += core qt -= gui config += c++11 target = untitled config += console config -= app_bundle template = app sources += main.cpp win32 { qmake_post_link +=$$quote(cmd /c xcopy /s /q /y /i $${resource_path} $${binary_path}$$escape_expand(\n\t)) }
resource_path contain 2 files , 1 folder
the above code not copying files or filders source directory. trying on windows 7
Comments
Post a Comment