The user is using Windows 8.1 x64. The user created a nice looking style for the Virtual keyboard. The user did everything in exact same way as described here http://doc.qt.io/QtVirtualKeyboard/technical-guide.html#styles-and-layouts. When user is running the application from the Qt Creator, she can see, the style is displayed as it was intended. Now it is time to send the project to the end-user. However, it cannot be done, since the custom style is not properly displayed.
The exact same outfit as in Qt Creator.
What actually happens:
Custom style is not displayed properly. See attached screen-shots.
This screenshot vk_in_qt_creator.png shows a custom style applied to the VK 1.3 in application run from Qt Creator.
This screenshot in_release_after_windeployqt.png shows, how does custom style displayed after windeployqt.exe was applied to the project binary.
Steps to reproduce:
0. VK must be compiled and installed in release mode as well as the example VK application
1. Install style attached as described here http://doc.qt.io/QtVirtualKeyboard/technical-guide.html#styles-and-layouts (unpack test.7z under [Qt]/qml/QtQuick/Enterprise/VirtualKeyboard\Styles
2. Run standard VK example in Qt Creator (Examples/QtVirtualKeyboard/quick/enterprise/virtualkeyboard\virtualkeyboard), set QT_VIRTUALKEYBOARD_STYLE=test
3. Observe, everything works fine
4. Now, use windeployqt.exe tool on project binary to create a stand-alone application package.
5. Double-click on binary.
6. Observe, style does not displayed properly. Background on some buttons is white instead of red, green and blue.