Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40722

nmake ignores modified project file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.3.1
    • None
    • Windows

      If a module is added to .pro and then nmake is called it does not regenerate the MakeFile.

      Steps to reproduce.
      Unzip the attached example and do
      qmake
      nmake
      you will get error
      fatal error C1083: Cannot open include file: 'QApplication': No such file or directory

      This is because there is no Widget module added to .pro
      Now open pro file and uncomment QT+=widgets and save this file
      Now run nmake, you again get same error as above.

      This works fine with mingw and on Mac make.

        1. qmakeTest.zip
          0.5 kB
          Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes