C

Qt Quick Ultralite imagedecoder Example

// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial

#include "board_config.h"
#include "desktopimagedecoder.h"
#include <qul/application.h>

#include "posixfilesystem.h"

void ConfigureBoard()
{
    static PosixFilesystem filesystem;
    Qul::Application::addFilesystem(&filesystem);

    static DesktopImageDecoder imagedecoder;
    Qul::Application::addImageDecoder(&imagedecoder);
}