Cloned Qt project in visual studio
-
I'm working with my friend on a project built in QT, we are using Visual studio for code writing and Qt Creator that opens when we click the .ui file.
I have installed Qt Visual Studio Tools and added path to msvc, and I can make project myself that runs propertly, but when i cloned our project from github it has qmake error, and all qt headers aren't recognizable by comppiler.
I checked include path's in project settings and they are all set to my friend's path's mostly by QT macros. After some attempts of pointing to my directories it's the same. (we both use Win10)
Could someone guide me what should I change or add to run the project?
-
-
@Yusfgus said in Cloned Qt project in visual studio:
I have the same problem, did you find the solution?
Hi, and welcome!
First, make sure that you are not committing your project's *.pro.user file (or CMakeLists.txt.user file) into Git. These files are only valid for the machine that generates them, so they should be ignored (by specifying them in your
.gitignore
file)