Qt Creator cannot create new projects or configure existing ones
-
wrote on 27 Feb 2018, 19:56 last edited by
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 ?
-
wrote on 27 Feb 2018, 20:02 last edited by
I am on Qt 5.10.1. I installed MinGW through the install process for Qt (it tells me it has MinGW 5.3.0 32 bit). I used the online installer.
-
Did you check the Kit in the Preferences to see if there's something off there ?
-
wrote on 27 Feb 2018, 20:08 last edited by
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 ?
-
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. -
wrote on 27 Feb 2018, 22:08 last edited by DanGione
No. I'm running windows 7 and I have auto-updates turned off (Maybe not the safest...)
-
What version of Qt Creator do you have running ?
-
wrote on 27 Feb 2018, 22:14 last edited by DanGione
I'm currently running Qt 5.10.1
-
That you already wrote and it's clear. I'm asking about the Qt Creator version.
-
wrote on 28 Feb 2018, 05:24 last edited by
I've been looking into the "Qt Creator has stopped working" problem whenever I close Qt and it seems to be caused by ntdll.dll. Looking into that as it could be related.
-
wrote on 2 Mar 2018, 03:28 last edited by
Am I just on my own on this?
-
@DanGione Did you try to reinstall QtCreator?
-
wrote on 1 Jun 2018, 17:09 last edited by
I have the same problem.
I have Qt Creator:
Qt Creator 4.6.1 Based on Qt 5.10.1 (Clang 8.0 (Apple), 64 bit) Built on May 2 2018 04:20:50 From revision 065e644d92
installed with:
brew cask install qt-creator
on:
macOS High Sierra 10.13.4 (17E199)
-
Hi,
What exact error are you getting ?
-
wrote on 2 Jun 2018, 23:38 last edited by
@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.