On Fri, Nov 13, 2015 at 10:53 AM, Brad King <brad.k...@kitware.com> wrote:
> On 11/13/2015 11:42 AM, Robert Dailey wrote:
>> CMake requires Qt4, which is incompatible with VS 2013 officially. I
>> do not want to apply patches to get it working.
>>
>> Is it possible to get CMake to use Qt5?
>
> CMake already supports being built with Qt5 on Windows.
>
> Configure with CMAKE_PREFIX_PATH containing to the path to
> msvc2013_64_opengl and it should be found automatically.
> Ensure Qt5Widgets_DIR points to
>
>  msvc2013_64_opengl/lib/cmake/Qt5Widgets

Thank you Brad, I wasn't setting CMAKE_PREFIX_PATH because it didn't
show up by default in the list of cache variables after generating. I
added it manually and it just worked. At first all I was doing was
enabling QT dialog in config, regenerating, and then changed the path
that it wanted for qtmake.exe. When I pointed it at qtmake for Qt5, it
complained about requiring Qt4.
-- 

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

Reply via email to