You are not logged in.

#1 2016-10-07 15:22:38

Magnus2552
Member
Registered: 2016-04-07
Posts: 63

[Solved] QtCreator broken after qtchooser was removed

When I start Qt Creator and open up any project, it says: "Could not find qmake configuration file default."
This started happening after qtchooser was removed. When I go to Options -> Build/Run -> Qt Versions, both of my Qt5 qmake locations seem to be broken with error message: "qmake does not exist or is not executable". Indeed in both locations there is no qmake. I can still CLI compile with qmake and in Qt Creator the Qt4 version seems to be not affected. Here is my output of qmake --version:

QMake version 3.0
Using Qt version 5.7.0 in /usr/lib

This all happened after a big pacman -Syu, where multiple Qt packages were updated. Does anyone know how to fix this?
Btw here the locations of the broken qmakes in Qt Creator:
/usr/lib/qt/bin/qmake
They are both the same location, but the one says in PATH (lib) and the other says in PATH (System) as a title. Is one of them redundant?

Last edited by Magnus2552 (2016-10-08 08:33:09)

Offline

#2 2016-10-07 17:03:38

Shinto
Member
Registered: 2012-07-27
Posts: 78

Re: [Solved] QtCreator broken after qtchooser was removed

$ which qmake
/usr/bin/qmake

http://i.imgur.com/PNcHaGr.png

I changed mine to this and it works.

Offline

#3 2016-10-08 08:28:53

Magnus2552
Member
Registered: 2016-04-07
Posts: 63

Re: [Solved] QtCreator broken after qtchooser was removed

I have configured mine exactly like yours. Now when I open a project, it says this:
http://imgur.com/a/vzCkz
What is broken now? xD

Offline

#4 2016-10-08 08:32:49

Magnus2552
Member
Registered: 2016-04-07
Posts: 63

Re: [Solved] QtCreator broken after qtchooser was removed

Ok, never mind, I just figured it out on my own.
Somehow my kit was not set up properly anymore. I fixed it by going to Options -> Build/Run -> Kits -> Desktop (default) and changing Qt version from "None" to Qt 5.7. Thanks for your help smile

Offline

Board footer

Powered by FluxBB