"MAKEFILE_GENERATOR variable not set as a result of parsing" Error -- Qt Creator 2.7.0 (Qt 5.0.2)
-
Hi All,
I have installed Qt Creator 2.7.0 (having Qt 5.0.2) VS 2010 version on my windows 7 (32 bit) PC. I am trying to build the sample TextFinder Project as explianed in the tutorial OR "this link":http://doc.qt.digia.com/qtcreator-2.4/creator-writing-program.html . After following all the procedures when I give it a build, it gives following error(s)":*MAKEFILE_GENERATOR variable not set as a result of parsing : TextFinder.pro. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
18:38:50: The process "C:\Qt\Qt5.0.2\5.0.2\msvc2010\bin\qmake.exe" exited with code 3.
Error while building/deploying project TextFinder (kit: Desktop Qt 5.0.2 MSVC2010 32bit)
When executing step 'qmake'
*
Internet Searches also didn't yield much fruitful results. Only one thing i could find and that is: the above error code lies in the file "metamakefile.cpp" and can be viewed "on this link":http://www.qt.gitorious.org/qt/qt-i18n-ru/blobs/a5075f3d48d2961b8314b8aaeb02de092e2fa796/qmake/generators/metamakefile.cpp
Can anybody give me some pointers to handle this issue so that I can solve it??
Thanks -
H folks!!
Any idea anybody??? -
You should post at least your .pro file.
-
Thanks for responding Koahnig!
Here is my .pro file:QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = project1
TEMPLATE = appSOURCES += main.cpp
project11.cppHEADERS += project1.h
FORMS += project1.ui
RESOURCES +=
Logo.qrcDon't know why this issue was coming. Perhaps because I was using VS2010 plugin (not sure though). I uninstalled it and then installed the MinGW version of Qt Creator and it works fine now!! :)
-
Good to know that the MinGW version is working.
Probably you are right that this might come from the addin. You might want to check in "JIRA":https://bugreports.qt-project.org/secure/Dashboard.jspa about a reported bug in vsaddin ro file one yourself.