forked from qt-creator/qt-creator
Qmake: Add some debug output for file add/remove operations
This will help collecting feedback from users affected by bugs. Task-number: QTCREATORBUG-22508 Change-Id: Idfc22245587dd2d71b229b4ab6c7562fb7a5ecfc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -107,6 +107,8 @@ uint qHash(FileOrigin fo) { return ::qHash(int(fo)); }
|
||||
|
||||
namespace Internal {
|
||||
|
||||
Q_LOGGING_CATEGORY(qmakeNodesLog, "qtc.qmake.nodes", QtWarningMsg)
|
||||
|
||||
class QmakeEvalInput
|
||||
{
|
||||
public:
|
||||
@@ -901,6 +903,8 @@ void QmakePriFile::changeFiles(const QString &mimeType,
|
||||
if (!includeFile)
|
||||
return;
|
||||
|
||||
qCDebug(qmakeNodesLog) << Q_FUNC_INFO << "mime type:" << mimeType << "file paths:"
|
||||
<< filePaths << "change type:" << int(change) << "mode:" << int(mode);
|
||||
if (change == AddToProFile) {
|
||||
// Use the first variable for adding.
|
||||
ProWriter::addFiles(includeFile, &lines, filePaths, varNameForAdding(mimeType),
|
||||
|
||||
Reference in New Issue
Block a user