Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.10.0-beta1
-
None
-
b1b52ac6746f5e7d935ecb106e48a87b656447c0 (qt-creator/qt-creator/4.9)
Description
It seems that for statisticsdialog.ui in the scxml editor in QtCreator no ExtraCompiler is created.
It seems that QmakeProFile::updateGeneratedFiles is only using the files of the pro file and not the pri file.
As a workaround the following sub optimal code seems to fix it.
diff --git a/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp b/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp index 1e8ff76337..a021d0104d 100644 --- a/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp +++ b/src/plugins/qmakeprojectmanager/qmakeparsernodes.cpp @@ -231,7 +231,12 @@ void QmakePriFile::makeEmpty() QSet<FileName> QmakePriFile::files(const FileType &type) const { - return m_files.value(type); + QSet<FileName> fileNames = m_files.value(type); + + for (QmakePriFile *priFile : m_children) + fileNames += priFile->files(type); + + return fileNames; }