Qt Creator cannot create new projects or configure existing ones
-
I have been using Qt Creator for a class for the past few months and recently I found that I cannot configure the .pro files that the teacher sends us. After doing some checking, I found that I also cannot create any new working projects. It spits out the error:
Project ERROR: failed to parse default search paths from compiler output
Error while parsing file C:\Users\ME\Desktop\BagTester\BagTester.pro. Giving up.I have already uninstalled and reinstalled Qt already and am using MinGW 32bit. I need to be able to use Qt and MinGW for my class.
Thanks,
Dan -
Hi and welcome to devnet,
That's a bit short on details:
- What version of Qt are you trying to install ?
- How are you installing MinGW ?
- Are you using the online or the offline installer ?
-
Did you check the Kit in the Preferences to see if there's something off there ?
-
One thing that's been happening for a while but never really seemed to affect it was that every time I closed Qt it would spit out Qt Creator has stopped working and said that qtcreator.exe with a version of 4.5.10 had crashed. I just now realized that it was a different version of Qt that was somehow crashing despite not being currently installed.
-
Does it show any yellow or red sign beside the Kit ?
Did you mix the use of online and offline installer ?
-
Got any Windows updates in between ?
Anti-virus ? Some of them are pretty trigger happy and can wreak havoc for development tools. -
What version of Qt Creator do you have running ?
-
That you already wrote and it's clear. I'm asking about the Qt Creator version.
-
-
Hi,
What exact error are you getting ?
-
@SGaist, The same as the original poster's one:
Project ERROR: failed to parse default search paths from compiler output
Error while parsing file path/to/project.pro. Giving up.Going to
Build
>Run qmake
was failing too. After simply runningqmake
in the terminal, it started working.It was not creating the
Run
configuration at all, even after cleaning git ignored files (like the.pro.user
file for example) and configuring aBuild
configuration.