[Qt-creator] Some thoughts about 2.5

Diego Iastrubni diegoiast at gmail.com
Mon May 28 10:32:17 CEST 2012


On Sun, May 27, 2012 at 5:04 PM, Geronimo Ma. Hernandez <geronimo013 at gmx.com
> wrote:

> I'm sorry, but I continued with my project and currently I can't build it
> with
> QtCreator.
> That's probably my fault, cause I don't know cmake configuration ...
> ... but I don't really want to spent time bothering with different make
> systems.
>

Try this in your CMakeLists.txt:

#
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_change_the_default_build_mode_and_see_it_reflected_in_the_GUI.3F

IF(NOT CMAKE_BUILD_TYPE)



  SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING



      "Choose the type of build, options are: None Debug Release
RelWithDebInfo MinSizeRel."


      FORCE)



ENDIF(NOT CMAKE_BUILD_TYPE)

(ugly but works). This enabled debug by default - and you will be able to
step into your code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120528/0b84685d/attachment.html>


More information about the Qt-creator mailing list