Skip to content

Error decoding Qt_Logo.png #4

@smidge6502

Description

@smidge6502

Qt_Logo.png in QMLModules_Section2 fails to render in the window when building the application as-is in the repo using Qt Creator 12.0.2. The error given is qrc:/qt/qml/QMLModules_Section2/MyButton.qml:13:5: QML Image: Error decoding: qrc:/qt/qml/QMLModules_Section2/Qt_Logo.png: Unsupported image format. The image can be opened and viewed in Qt Creator itself and other applications.

Opening Qt_Logo.png in Paint, making a small edit, saving it, and then rebuilding the project works. No decoding error is thrown, and the image renders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions