how do Kits get installed for QCreator? it finds Msys2 but not Visual Studio
-
hi
Windows 11, Insiders version to have the bleeding edge dev tools
Visual Studio installed but not used as the app i am working uses the Msys2 mingw64 enviroment to build in.I want to add a new page to a Stack Widget in the app and i installed Qt Design Studio to create the .ui, .cpp, and .h files i would need. But the UI is a steep learning curve and the simple minded tutorial videos on Youtube dont come anywhere close to informing me well enough to do the interactive info presentation i want .. and then i find out DS outputs .QML files, not the files i need .. a doc suggests i use Qt Widget Designer ..but i dont need a widget, i need a whole page to go into an existing Stack Widget
More reading guides me to thing Q Creator is what i need so i try that using the simple Hello World tutorial that i found .. it says to open the .pro file with QCreator .. first thing it demands i chose a Kit .. but it is only finding the Qt installed for the Msys2 Mingw64 app that i eventually want to get back to. I need Q Creator to work in MSVC to follow the tutorial's instructions.
First Question for the Forum - how do Kits get found by QCreator? how do i find more of them on the net to be able to install them ? do i have to learn more about the mysteries of WinGet? Or should i go back to the more Unix-y world of Msys and figure out how to get Q Creator to work in that environment .. if that can even be done?
SO .. the tutorial say to open the .pro file with QCreator .. i do so and all of a sudden there are a bazillion files in the folder, my ./src and ./build folders are gone .. hummm .. no, they are now two additional levels of file structure below the folder i started in. i find the executable in build/Debug but it outputs nothing
i think i need to try a different Kit .. whatever that means in the context of QCreator .. but i find no way to install them in the app and nothing in the docs tells me where to find a Kit on the internet for download .. so
can i use Winget to install something that will provide me a native Windows Kit for use with QCreator? and if so .. where do i install it so that the app finds it .. any of .AppData/Local .. Roaming etc?
I am doing my best to solve my own problems but Qt is still looking like a big tangled mess with lots of documention telling me stuff that it thinks i already know
More
-
hi
Windows 11, Insiders version to have the bleeding edge dev tools
Visual Studio installed but not used as the app i am working uses the Msys2 mingw64 enviroment to build in.I want to add a new page to a Stack Widget in the app and i installed Qt Design Studio to create the .ui, .cpp, and .h files i would need. But the UI is a steep learning curve and the simple minded tutorial videos on Youtube dont come anywhere close to informing me well enough to do the interactive info presentation i want .. and then i find out DS outputs .QML files, not the files i need .. a doc suggests i use Qt Widget Designer ..but i dont need a widget, i need a whole page to go into an existing Stack Widget
More reading guides me to thing Q Creator is what i need so i try that using the simple Hello World tutorial that i found .. it says to open the .pro file with QCreator .. first thing it demands i chose a Kit .. but it is only finding the Qt installed for the Msys2 Mingw64 app that i eventually want to get back to. I need Q Creator to work in MSVC to follow the tutorial's instructions.
First Question for the Forum - how do Kits get found by QCreator? how do i find more of them on the net to be able to install them ? do i have to learn more about the mysteries of WinGet? Or should i go back to the more Unix-y world of Msys and figure out how to get Q Creator to work in that environment .. if that can even be done?
SO .. the tutorial say to open the .pro file with QCreator .. i do so and all of a sudden there are a bazillion files in the folder, my ./src and ./build folders are gone .. hummm .. no, they are now two additional levels of file structure below the folder i started in. i find the executable in build/Debug but it outputs nothing
i think i need to try a different Kit .. whatever that means in the context of QCreator .. but i find no way to install them in the app and nothing in the docs tells me where to find a Kit on the internet for download .. so
can i use Winget to install something that will provide me a native Windows Kit for use with QCreator? and if so .. where do i install it so that the app finds it .. any of .AppData/Local .. Roaming etc?
I am doing my best to solve my own problems but Qt is still looking like a big tangled mess with lots of documention telling me stuff that it thinks i already know
More
@bitbasher said in how do Kits get installed for QCreator? it finds Msys2 but not Visual Studio:
I need Q Creator to work in MSVC
Did you install Microsoft build tools or Visual Studio including C++ support?
Did you install Qt for MSVC? -
C Christian Ehrlicher moved this topic from General and Desktop
-
You can manually configure a Kit in Qt Creator by adding a C/C++ compiler, a Qt setup, a Debugger.
Or you can do it from command line via the SDK Tool.