Skip to content
Snippets Groups Projects
Commit 4fb9ffc9 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Filter uninstalled Qt libraries from dpkg output.

Task-number: QTCREATORBUG-2390
Reviewed-by: kh1
parent f84cbe43
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ void MaemoConfigTestDialog::handleConnected() ...@@ -89,7 +89,7 @@ void MaemoConfigTestDialog::handleConnected()
if (!m_connection) if (!m_connection)
return; return;
QLatin1String sysInfoCmd("uname -rsm"); QLatin1String sysInfoCmd("uname -rsm");
QLatin1String qtInfoCmd("dpkg -l |grep libqt " QLatin1String qtInfoCmd("dpkg -l |grep libqt |grep '^ii'"
"|sed 's/[[:space:]][[:space:]]*/ /g' " "|sed 's/[[:space:]][[:space:]]*/ /g' "
"|cut -d ' ' -f 2,3 |sed 's/~.*//g'"); "|cut -d ' ' -f 2,3 |sed 's/~.*//g'");
QString command(sysInfoCmd + " && " + qtInfoCmd); QString command(sysInfoCmd + " && " + qtInfoCmd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment