adding config.pri files to samples

(cherry picked from commit 5151233e62c631f8a15681ae0627cfa6f7ad64b9)