Hi
I am very new to this environment so excuse my simple questions please.
I tried to get OCCT going with QT Creator but failed dismally.
I am not sure that QT is the way to go for a beginner. So my question is really simple. Should I use VS 2022 or must I stick wit QT. What is the best choice for a beginner?
Discussion
7 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hello. The most comfortable - Visual Studio.
But the project creating is can be done for VSCode, Qt Cretor or VS by CMake. QT Creator can import the CMake project with no issues.
VS 2022 have the most comfortable start, based on possibility to start DRAWEXE by F5 and debug the code.
As for me - I'm working with VS Code (on Linux and Windows), but for that need to create launch.json to start the debugging or attach to the process, but building do not a problem.
Thanks a lot for that information. It made it a bit more clear.
The way I understand it is like this:
1) You setup the project using CMake.
2) The project is build for VS2022.
3) I add my code to the project.
4) I build my stuff.
I will try it for QT Creator and VS2022
03Commenter-2
Hey Dmitrii, would you mind sharing your launch.json for debugging? I may have found an bug on OCCT and want to get deep into it. I was able to compile and run DRAWEXE on VSCode but unsure how to use it interatively
04Commenter-1
Yes, for sure. What is your OS? If windows, then MinGW or VS compiler?
05Commenter-1
Here a file with launches for windows.
06Commenter-2
I'm on latest OS X, using clang.
EDIT: Thank you for the windows one, I can figure out my way using it!
07Commenter-1
MacOS works with lldb. I didn't prepare a pretty printers for it or any arguments.
I have the script for Ubuntu, which you can use as a basic start.