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