windows - Qmake Command to copy directory and files -


i want copy contents in directory "temp" "dd"

binary_destination_path = $$pwd$$separator/dd/ resource_source_path = $$pwd$$separator/temp  exported_destination_path = $${binary_destination_path} exported_destination_path ~= s,/,\\,g  exported_source_path = $${resource_source_path} exported_source_path ~= s,/,\\,g  qt += core qt -= gui  config += c++11  target = sample config += console config -= app_bundle  template = app  sources += main.cpp  win32 { qmake_post_link += $$quote(cmd /c xcopy /s /i /y $${exported_headers}\\copy_to_output $${exported_headers_win}) } 

but not adding files dd , showing error on build. error son line "qmake_post_link"

quote(string)

converts whole string single entity , returns result. fancy way of enclosing string double quotes.

what you're looking system(command).


Comments

Popular posts from this blog

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

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -