On 11/03/2014 03:29 PM, Williams, Norman K wrote: > I'm trying to build CMake with the Qt Dialog on Ubuntu and it's really not > working. > > do I have to do something like add > -DQT5Widgets_DIR:PATH=/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Widgets to my CMake > build line?
In order to tell CMake where to find Qt 5, add its installation prefix (/opt/Qt/5.3/gcc_64) to the CMAKE_PREFIX_PATH, either in your environment or on the command line: -DCMAKE_PREFIX_PATH=/opt/Qt/5.3/gcc_64 If you're using the 'bootstrap' script you can add it after a '--' option: ./bootstrap --prefix=... -- -DCMAKE_PREFIX_PATH=/opt/Qt/5.3/gcc_64 -Brad -- 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/mailman/listinfo/cmake-developers
