Re: [CMake] qt+cmake != qt+qmake on mac os x

2016-05-09 Thread Evgeniy Dushistov
On Sun, May 8, 2016 at 11:20 PM, Craig Scott wrote: > Add the MACOSX_BUNDLE keyword to your add_executable() command. See the > CMake docs for details. Thanks, it works. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] qt+cmake != qt+qmake on mac os x

2016-05-08 Thread Craig Scott
Add the MACOSX_BUNDLE keyword to your add_executable() command. See the CMake docs for details. On Mon, May 9, 2016 at 12:33 AM, Evgeniy Dushistov wrote: > Hi, > > I created simple hello world with qt5 (5.6) using cmake 3.5.2: >

[CMake] qt+cmake != qt+qmake on mac os x

2016-05-08 Thread Evgeniy Dushistov
Hi, I created simple hello world with qt5 (5.6) using cmake 3.5.2: set(test_app_UIS mainwin.ui) set(test_app_MOC_HDRS mainwin.hpp) qt5_wrap_ui(test_app_UIS_H ${test_app_UIS}) qt5_wrap_cpp(test_app_MOC_SRCS ${test_app_MOC_HDRS}) add_executable(test_app ${test_app_UIS_H} ${test_app_MOC_SRCS} ${tes