QImage image(file->fileName());qDebug()<<image.size().isNull(); // ???
C++ (Qt)QCoreApplication a(argc,argv);QString pluginsPath=QString("%1/%2").arg(a.applicationDirPath()).arg("plugins");pluginsPath =pluginsPath.toLower();a.addLibraryPath(pluginsPath);