diff --git a/cmake/QtFinishPrlFile.cmake b/cmake/QtFinishPrlFile.cmake index 31936dd74ee..a932f2f9882 100644 --- a/cmake/QtFinishPrlFile.cmake +++ b/cmake/QtFinishPrlFile.cmake @@ -73,7 +73,7 @@ foreach(line ${lines}) endif() endforeach() if(rcc_objects) - list(APPEND adjusted_libs ${rcc_objects}) + list(PREPEND adjusted_libs ${rcc_objects}) endif() list(JOIN adjusted_libs " " adjusted_libs_for_qmake) string(APPEND content "QMAKE_PRL_LIBS = ${adjusted_libs_for_qmake}\n")