[Qt-creator] Setup of Projects with CMake & VS Compilers

Alexander Rukletsov rukletsov at gmail.com
Thu Feb 14 23:07:47 CET 2013


Of course there are some minor issues, but everything can be solved.
That is, I use QtCreator on Linux, Mac and Windows with msvc, gcc and
clang compilers.

I wouldn't say debugging possibilities belong to the strongest sides
of QtCreator, however, it works. I personally rarely use the
debugger, so I cannot really share my experience. Give it a try, if
you bump into a problem, you can always ask here.

On 14 February 2013 21:15, Michael Jackson <imikejackson at gmail.com> wrote:
> I take it you have done this? Are there any "caveats" to developing this way? My main reasons are that I like the VS debugger details (My usual machine is OS X 10.6.8) but VS2010 is just painstakingly slow when compared against OS X and Makefiles (clang is even faster..). I use QtCreator (used to use Eclipse) on OS X and I generally like the environment. I would like to have the best of QtCreator (Fast start up and editing) with a great debugging experience. I may fire up a VM and try this out.
>
> Thanks
> ---
> MJ
> On Feb 14, 2013, at 3:05 PM, Alexander Rukletsov wrote:
>
>> Yes, you can install just Windows SDK and have a native win stack for free.
>>
>> On 14 February 2013 19:02, Michael Jackson <imikejackson at gmail.com> wrote:
>>> Yep. A couple of times. After uninstalling/reinstalling VS2010 & Windows SDK & plus VS2010SP1 & Windows SDK SP1 Update the debugger never was installed. I finally tried downloading the "Windows 8 SDK" which runs on Windows 7x64 (which is what I am on) and that seemed to install the debuggers. Now my "Kit" automatically picked up those debuggers. Now lets see if I can actually debug my project.
>>>
>>> How is the speed of the debugger compared to Visual Studio? Also does this mean that I could install JUST the Windows SDK (compilers/debuggers) and QtCreator and have a full up "FREE" (as in NO MONEY) IDE that uses the VS compilers? This would make me happy.
>>>
>>> ---
>>> Thanks
>>> Mike Jackson
>>>
>>> On Feb 14, 2013, at 12:33 PM, Joseph Crowell wrote:
>>>
>>>> Di  you choose to install CDB when installing the SDK?
>>>>
>>>> On 02/15/2013 03:10 AM, Michael Jackson wrote:
>>>>> I have followed all of MS advice on installing both VS2010 and the Windows SDK 7.1. The final issue I am facing (I think) is actually finding the "cdb.exe" file. It is not where the docs say it should be. which is
>>>>>
>>>>> -----
>>>>> For the older Windows SDKs, such as Windows SDK 7.1, the Debugging Tools for Windows where shipped as a separate installer on the ISO-image of the SDKs. The debuggers are typically located in c:\Program Files (x86)\Debugging Tools for Windows or c:\Program Files\Debugging Tools for Windows .
>>>>> -----
>>>>>
>>>>> I do not have any of those paths. Do you? What is the path to the cdb.exe that you are using?
>>>>>
>>>>> thanks
>>>>> --
>>>>> Mike Jackson
>>>>>
>>>>> On Feb 13, 2013, at 12:43 PM, Alexander Rukletsov wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I use this setup in my daily work. If you use a recent version of
>>>>>> CMake, you need to set-up a "kit" first, otherwise choose the
>>>>>> corresponding nmake generator when opening CMakeLists.txt. Once the
>>>>>> kit is set, open CMakeLists, provide parameters to cmake binary, and
>>>>>> run the generator. If you have a complex project, you may use
>>>>>> cmake-gui to tune cmake vars and re-generate the project into the
>>>>>> build folder created by QtCreator.
>>>>>>
>>>>>> Hope this helps,
>>>>>> Alex
>>>>>>
>>>>>>
>>>>>> On 13 February 2013 16:30, Michael Jackson <imikejackson at gmail.com> wrote:
>>>>>>> Not sure which list (this or the CMake List) to ask on so I'll try here first.
>>>>>>>
>>>>>>> If I understand correctly QtCreator on Windows can use the VS Compilers/Debugger. My project is managed with CMake instead of QMake and I was curious if anyone else is using this combination and could give some pointers on how to setup the environment to use QtCreator in this way? What generator do I use? What kind of env vars need to be setup ahead of time. Stuff like that.
>>>>>>>
>>>>>>> Thanks
>>>>>>> -----
>>>>>>> Mike Jackson
>>>>>>> _______________________________________________
>>>>>>> Qt-creator mailing list
>>>>>>> Qt-creator at qt-project.org
>>>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> Qt-creator at qt-project.org
>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>>
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> Qt-creator at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list