windeployqt를 이용하여 Qt Quick Controls 기반의 application을 packaging할 때의 주의점

Qt 5.5에서 windeployqt를 사용하여 Qt Quick Controls 기반의 application에 대한 packaging을 수행할 경우, PrivateWidgets 부분을 가져오지 못해 타 시스템에서는 UI가 보이지 않는 문제점이 있습니다.

이 문제를 해결하기 위해서는 Qt의 qml\QtQuick\PrivateWidgets 폴더를 패키지 디렉토리의 상응하는 위치로 복사해 주어야 합니다. (e.g. deployment\QtQuick\PrivateWidgets)


Qt Quick Control을 쓰시는 분들께 도움이 되시기 바랍니다.

Cautions on using windeployqt on Qt Quick Controls based applications

When packaging applications using windeployqt in Qt 5.5, you may experience the application doesn't show the interface because windeployqt doesn't recognize links to PrivateWidgets.

To solve the problem, copy qml\QtQuick\PrivateWidgetsfolder in Qt to respective location in deployment folder(e.g. deployment\QtQuick\PrivateWidgets).

Hope this helps those working with Qt Quick Controls.

블로그를 이전합니다

뭐, 이런 작은 변방의 블로그에 관심있으신 분들은 아무도 없으시리라 생각합니다만...... (웃음) 블로그 플랫폼을 블로거에서 dev.to로 옮겼습니다. 새 URL은 아래와 같습니다: https://dev.to/teminian 새로운 거처에서 뵙겠습니...

Popular in Code{nested}