The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14926 ====================================================================== Reported By: Milen Bilyanov Assigned To: ====================================================================== Project: CMake Issue ID: 14926 Category: QtDialog Reproducibility: always Severity: feature Priority: immediate Status: new ====================================================================== Date Submitted: 2014-05-22 12:33 EDT Last Modified: 2014-05-22 12:33 EDT ====================================================================== Summary: fatal error: 'QWidget' file not found Description: Hi, I am trying to compile Cmake against Qt4. The bootstrap scripts reports that QT is healthy:
"Performing C++ SOURCE FILE Test QT4_WORKS succeded with the following output" However, later at the build stage I get the following error: [ 89%] Building CXX object Source/QtDialog/CMakeFiles/cmake-gui.dir/AddCacheEntry.cxx.o In file included from /me/.tmp/cmake-2.8.12.2/Source/QtDialog/AddCacheEntry.cxx:13: /me/.tmp/cmake-2.8.12.2/Source/QtDialog/AddCacheEntry.h:16:10: fatal error: 'QWidget' file not found #include <QWidget> ^ 1 error generated. make[2]: *** [Source/QtDialog/CMakeFiles/cmake-gui.dir/AddCacheEntry.cxx.o] Error 1 make[1]: *** [Source/QtDialog/CMakeFiles/cmake-gui.dir/all] Error 2 make: *** [all] Error 2 Any ideas? Thanks. Steps to Reproduce: Always, just bootstrap and build. Additional Information: My Qt is a custom build Qt and is in the following folder: ~/apps/Darwin64/Qt-4.8.5-gcc-4.2.1 "quake" and all the examples are working. I can say it is a healthy build. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-05-22 12:33 Milen Bilyanov New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers