Qt was messing up on Windows so I deleted it and re installed it with the qt libraries and Qt Creator. Now, whenever I try to open my old project, I get the error that "Qmake is does not exist or is not executable", and none of the Qt headers can be located.
相关问题
- QML: Cannot read property 'xxx' of undefin
- QTextEdit.find() doesn't work in Python
- QT Layouts, how to make widgets in horizontal layo
- QT GUI freezes even though Im running in separate
- QGraphicsView / QGraphicsScene size matching
相关文章
- ubuntu20.4中c#通过c++库调用python脚本
- Qt槽函数自动执行多遍
- Is there a non-java, cross platform way to launch
- How to get a settings storage path in a cross-plat
- Why doesn't valgrind detect a memory leak in m
- QTreeView remove decoration/expand button for all
- qt界面拥挤
- how do I correctly return values from pyqt to Java
Assuming you're using a recent version of Qt, such as version 4.7.4, and a recent version of Qt Creator, such as the branch 2.3 .*.
Probably somewhere in this process, Qt Creator or the settings for this specific project lost the reference to Qt install.
We first need to find out if Qt Creator knows where Qt is installed. Go to
Tools > Options...
. Then click in Qt4. Here will show all installed and detected Qt versions.As you can see, I have one Qt version installed (4.7.4), which was automatically detected.
If you do not have any installed version, you need to indicate a one manually. Simply click
Add
and point it to the rightqmake.exe
. Use the paths of the figure as reference. If you are developing a windows/mingw application, just need to add theqmake.exe
associated with mingw (c:\qtsdk\desktop\qt\4.7.4\mingw\bin\qmake.exe
on my computer) and remember the Version name, we'll need that in next step.After that, open the project and click on
Projects
in the lateral bar. You need to Substitute the Qt version. Click onManage
next to it and select the correct version. This should resolve the problem.Any trouble just comment. Sorry about the creepy english.