Commit b5f78bb04bea15bb1042c4b95647e4a20dd09d80

Remove static vs dynamic library autodetection from qmake in Symbian

Autodetection was unreliable and there was no practical way to make
it reliable even for common cases, so it was removed.

Task-number: QTBUG-13498
Reviewed-by: Janne Koskinen
  
706706 if (lib.startsWith("-l")) {
707707 lib.remove(0, 2);
708708 QString mmpStatement;
709 if (lib.endsWith(".dll")) {
709 if (lib.endsWith(".lib")) {
710710 lib.chop(4);
711 mmpStatement = "LIBRARY\t\t";
712 } else if (lib.endsWith(".lib")) {
713 lib.chop(4);
714711 mmpStatement = "STATICLIBRARY\t";
715712 } else {
716 // Hacky way to find out what kind of library it is. Check the
717 // ARMV5 build directory for library type. We default to shared
718 // library, since that is more common.
719 QString udebStaticLibLocation(epocRoot());
720 QString urelStaticLibLocation(udebStaticLibLocation);
721 udebStaticLibLocation += QString("epoc32/release/armv5/udeb/%1.lib").arg(lib);
722 urelStaticLibLocation += QString("epoc32/release/armv5/urel/%1.lib").arg(lib);
723 if (QFile::exists(udebStaticLibLocation) || QFile::exists(urelStaticLibLocation)) {
724 mmpStatement = "STATICLIBRARY\t";
725 } else {
726 mmpStatement = "LIBRARY\t\t";
727 }
713 if (lib.endsWith(".dll"))
714 lib.chop(4);
715 mmpStatement = "LIBRARY\t\t";
728716 }
729717 t << mmpStatement << lib << ".lib" << endl;
730718 }