Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    "MAKEFILE_GENERATOR variable not set as a result of parsing" Error -- Qt Creator 2.7.0 (Qt 5.0.2)

    Tools
    2
    5
    3819
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      deepak_ last edited by

      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

      1 Reply Last reply Reply Quote 0
      • D
        deepak_ last edited by

        H folks!!
        Any idea anybody???

        1 Reply Last reply Reply Quote 0
        • K
          koahnig last edited by

          You should post at least your .pro file.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply Reply Quote 0
          • D
            deepak_ last edited by

            Thanks for responding Koahnig!
            Here is my .pro file:

            QT += core gui

            greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

            TARGET = project1
            TEMPLATE = app

            SOURCES += main.cpp
            project11.cpp

            HEADERS += project1.h

            FORMS += project1.ui

            RESOURCES +=
            Logo.qrc

            Don'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!! :)

            1 Reply Last reply Reply Quote 0
            • K
              koahnig last edited by

              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.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post