|
|
@ -25,7 +25,7 @@ QPixmap MyQT::loadImage()
|
|
|
|
if(!lib.isLoaded())
|
|
|
|
if(!lib.isLoaded())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qWarning("Can't load BMP library.");
|
|
|
|
qWarning("Can't load BMP library.");
|
|
|
|
qApp->quit();
|
|
|
|
tqApp->quit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int i = 0;
|
|
|
|
int i = 0;
|
|
|
@ -40,7 +40,7 @@ QPixmap MyQT::loadImage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qWarning("Library corrupted.");
|
|
|
|
qWarning("Library corrupted.");
|
|
|
|
lib.unload();
|
|
|
|
lib.unload();
|
|
|
|
qApp->quit();
|
|
|
|
tqApp->quit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const char *s = "../w3.bmp";
|
|
|
|
const char *s = "../w3.bmp";
|
|
|
@ -49,7 +49,7 @@ QPixmap MyQT::loadImage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qWarning("Can't find example image.");
|
|
|
|
qWarning("Can't find example image.");
|
|
|
|
lib.unload();
|
|
|
|
lib.unload();
|
|
|
|
qApp->quit();
|
|
|
|
tqApp->quit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
codeK = codec_create();
|
|
|
|
codeK = codec_create();
|
|
|
|