Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. "MAKEFILE_GENERATOR variable not set as a result of parsing" Error -- Qt Creator 2.7.0 (Qt 5.0.2)
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 4.2k Views 1 Watching
  • 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 Offline
    D Offline
    deepak_
    wrote on last edited by
    #1

    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
    0
    • D Offline
      D Offline
      deepak_
      wrote on last edited by
      #2

      H folks!!
      Any idea anybody???

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        You should post at least your .pro file.

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

        1 Reply Last reply
        0
        • D Offline
          D Offline
          deepak_
          wrote on last edited by
          #4

          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
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            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
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved