| 35 | |
| 36 | template <> |
| 37 | char* toString(const QStringList& list) |
| 38 | { |
| 39 | QByteArray ba; |
| 40 | if (list.isEmpty()) { |
| 41 | ba = "()"; |
| 42 | } else { |
| 43 | ba = "(\"" + list.join(QStringLiteral("\", \"")).toLocal8Bit() + "\")"; |
| 44 | } |
| 45 | return qstrdup(ba.data()); |
| 46 | } |
| 47 | |
| 48 | template <> |
| 49 | char* toString(const QMakeFile::VariableMap& variables) |