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.
|For Gerrit Dashboard: QTCREATORBUG-22395|
|260820,2||QmakeProjectManager: Do not ignore files from included .pri files||4.9||qt-creator/qt-creator||Status: MERGED||+2||0|
|262009,1||QmakeProjectManager: Do not ignore files from included .pri files||master||qt-creator/qt-creator||Status: ABANDONED||0||0|