summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-08-19 16:22:47 (GMT)
committerBrad King <brad.king@kitware.com>2021-08-19 16:23:16 (GMT)
commitd2a6e160aa74479fc623918b084423739a9b80c7 (patch)
tree2f70830294927051da466660fb28484d25f205f0 /Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp
parent30dd9b33a048ec76fd48665f3793cf282cd75f12 (diff)
downloadCMake-d2a6e160aa74479fc623918b084423739a9b80c7.zip
CMake-d2a6e160aa74479fc623918b084423739a9b80c7.tar.gz
CMake-d2a6e160aa74479fc623918b084423739a9b80c7.tar.bz2
AUTOUIC: Revert "Fix generating of dependency rules for UI header files"
Revert commit e5ec0e52f4 (AUTOUIC: Fix generating of dependency rules for UI header files, 2021-07-22, v3.21.1~8^2) because it caused regressions. For example, changing one C++ source can now cause many others to rebuild. Revert the change pending further investigation. Fixes: #22531 Issue: #16776
Diffstat (limited to 'Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp')
-rw-r--r--Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp b/Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp
index 99de13d..4aab2ad 100644
--- a/Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp
+++ b/Tests/QtAutogen/RerunUicOnFileChange/UicOnFileChange/main.cpp
@@ -1,12 +1,10 @@
#include "mainwindow.h"
#include "ui_mainwindow.h"
-extern bool subdircheck();
-
int main(int argc, char* argv[])
{
MocWidget mw;
Ui::Widget mwUi;
mwUi.setupUi(&mw);
- return mw.objectName() == "Widget2" && subdircheck() ? 0 : 1;
+ return mw.objectName() == "Widget2" ? 0 : 1;
}