答案1
我轉到我的 .pro 檔案並發現了這個:
#specify where the qml/js files are installed to
qml_files.path = /Poker-Puzzle
qml_files.files += $${QML_FILES}
改成這樣:
#specify where the qml/js files are installed to
qml_files.path = /Poker-Puzzle/QML/components
qml_files.files += $${QML_FILES}