|
|
|
@ -594,9 +594,9 @@ public:
@@ -594,9 +594,9 @@ public:
|
|
|
|
|
|
|
|
|
|
s = conf->getenv("QC_WITH_LIBMAGICK_LIB"); |
|
|
|
|
if(!s.isEmpty()) { |
|
|
|
|
if(!QFile::exists(s+QString("/libMagick++.so"))){ |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
if(!conf->checkLibrary(s, "Magick++")) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
QStringList sl; |
|
|
|
|
sl << "/usr/lib/"; |
|
|
|
@ -605,9 +605,9 @@ public:
@@ -605,9 +605,9 @@ public:
|
|
|
|
|
sl << "/usr/local/lib64/"; |
|
|
|
|
bool found = false; |
|
|
|
|
foreach(s, sl){ |
|
|
|
|
if(QFile::exists(s+QString("libMagick++.so"))){ |
|
|
|
|
if(conf->checkLibrary(s, "Magick++")) { |
|
|
|
|
found = true; |
|
|
|
|
break; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(!found) |
|
|
|
|