forked from qt-creator/qt-creator
Debugger: Fix a few bogus CONFIG {+,-}= QT statements
Should be lower case, and += is not really needed. Change-Id: If51cfcfd8e1971576fe67d3c53c8f18f416e3afe Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -799,9 +799,7 @@ public:
|
|||||||
|
|
||||||
const Data &operator+(const CoreProfile &) const
|
const Data &operator+(const CoreProfile &) const
|
||||||
{
|
{
|
||||||
profileExtra +=
|
profileExtra += "QT += core\n";
|
||||||
"CONFIG += QT\n"
|
|
||||||
"QT += core\n";
|
|
||||||
|
|
||||||
useQt = true;
|
useQt = true;
|
||||||
useQHash = true;
|
useQHash = true;
|
||||||
@@ -811,9 +809,7 @@ public:
|
|||||||
|
|
||||||
const Data &operator+(const NetworkProfile &) const
|
const Data &operator+(const NetworkProfile &) const
|
||||||
{
|
{
|
||||||
profileExtra +=
|
profileExtra += "QT += core network\n";
|
||||||
"CONFIG += QT\n"
|
|
||||||
"QT += core network\n";
|
|
||||||
|
|
||||||
useQt = true;
|
useQt = true;
|
||||||
useQHash = true;
|
useQHash = true;
|
||||||
@@ -1218,7 +1214,7 @@ void tst_Dumpers::dumper()
|
|||||||
if (data.useQt)
|
if (data.useQt)
|
||||||
proFile.write("QT -= widgets gui\n");
|
proFile.write("QT -= widgets gui\n");
|
||||||
else
|
else
|
||||||
proFile.write("CONFIG -= QT\n");
|
proFile.write("CONFIG -= qt\n");
|
||||||
if (m_useGLibCxxDebug)
|
if (m_useGLibCxxDebug)
|
||||||
proFile.write("DEFINES += _GLIBCXX_DEBUG\n");
|
proFile.write("DEFINES += _GLIBCXX_DEBUG\n");
|
||||||
if (m_debuggerEngine == GdbEngine && m_debuggerVersion < 70500)
|
if (m_debuggerEngine == GdbEngine && m_debuggerVersion < 70500)
|
||||||
|
Reference in New Issue
Block a user