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"
converts whole string single entity , returns result. fancy way of enclosing string double quotes.
what you're looking system(command)
.
Comments
Post a Comment