Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    [SOLVED] qmake doesn't work (fresh install Windows 8 N & Qt5.0.2)

    Installation and Deployment
    2
    5
    2268
    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.
    • S
      Skyrpex last edited by

      I've just installed Windows 8 N and Qt5.0.2 (MinGW32) and created a simple GUI app. When I try to build it stops at the qmake step. It outputs this:
      @"MAKEFILE_GENERATOR variable not set as a result of parsing : untitled.pro. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more."@

      Never happened to me. Google won't lead me to an answer. Thanks.

      SOLVED: looks like the installer package got messed up in my USB flash drive. Burnt to a CD and worked like a charm.

      1 Reply Last reply Reply Quote 0
      • M
        mcosta last edited by

        Hi,

        can you post you pro file?

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        1 Reply Last reply Reply Quote 0
        • S
          Skyrpex last edited by

          It is generated when you create the basic GUI application from the wizard. Like this one:
          @#-------------------------------------------------

          Project created by QtCreator 2013-04-18T13:22:02

          #-------------------------------------------------

          QT += core gui

          greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

          TARGET = untitled
          TEMPLATE = app

          SOURCES += main.cpp
          MainWindow.cpp

          HEADERS += MainWindow.hpp

          FORMS += MainWindow.ui
          @

          I tried to reinstall Windows and Qt. I will try to download the Qt package another time, just in case.

          1 Reply Last reply Reply Quote 0
          • M
            mcosta last edited by

            Have you installed also MinGW?

            Once your problem is solved don't forget to:

            • Mark the thread as SOLVED using the Topic Tool menu
            • Vote up the answer(s) that helped you to solve the issue

            You can embed images using (http://imgur.com/) or (http://postimage.org/)

            1 Reply Last reply Reply Quote 0
            • S
              Skyrpex last edited by

              Looks like it is something wrong either with my Windows 8 disk or my USB flash drive. I will try to burn the Qt installer into a DVD. I think this thread should be closed. Thanks!

              By the way,
              [quote author="mcosta" date="1366287074"]Have you installed also MinGW?
              [/quote]
              Yes, it comes with the Qt package. I've also tried to compile some simple files and it works fine.

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