Qt 6.11 is out! See what's new in the release
blog
Open a project from a repo
-
I am starting to learn Qt. I am using a book titled "Qt 6 C++ GUI Programming Cookbook".
The book offers a Github repository with the files for many of the exercises in the book. I have tried to load some of the projects into QT Creator but the build icons are not enabled. I see all the files, can make edits, "Design" shows the layout, but I can't build.
I am clearly making a rookie error. Any help would be appreciated. -
C Christian Ehrlicher moved this topic from General and Desktop on
-
I noticed that when in the Edit mode there was an error at the top of the code listing saying the file was not part of a project. Even though the set of files were opened in the process of opening a project, the files opened were not part of the project. Strange.
I managed to get it to Build and Run.
- In the Mode Selector, click on the Projects icon
- In the Build and Run section, click the Run icon.
That will build and then run.
After that the Run and Debug icons in the Mode Selector are no longer grayed out and are active, and the files no longer have the error message that they are not part of a project.