view src/vigra-test.cpp @ 4352:bf358512f67e

Correctly locate cross-compiler versions of Qt tools (bug #50258). * default-octave.mk: Set environment variables for RCC_QTVER, UIC_QTVER, MOC_QTVER, LRELEASE_QTVER so that Octave configure script locates cross-compiler versions of these tools.
author Rik <rik@octave.org>
date Tue, 14 Feb 2017 11:35:52 -0800
parents 14b3f5ea78ae
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <string>
#include <iostream>
#include <vigra/imageinfo.hxx>

using namespace vigra;

int main(int argc, char *argv[])
{
    std::string formats = vigra::impexListFormats();

    std::cout << "Supported formats: " << formats << std::endl;

    return formats.length() > 0;
}