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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -