Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why does qmake say nothing about issues that were before adding one line into the .pro file
Forum Updated to NodeBB v4.3 + New Features

Why does qmake say nothing about issues that were before adding one line into the .pro file

Scheduled Pinned Locked Moved General and Desktop
c++proqt5qtcreator
3 Posts 3 Posters 1.1k Views 3 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.
  • sosunS Offline
    sosunS Offline
    sosun
    wrote on last edited by sosun
    #1

    Qmake told me about some issues with static member and that I need to add -std+=c++11 flag. I added it using CONFIG += c++11 and it worked fine. But then I erased this line (wanted to get these issues back) and got clean build without any issues. Was it "cached" or what?

    1 Reply Last reply
    0
    • JohanSoloJ Offline
      JohanSoloJ Offline
      JohanSolo
      wrote on last edited by
      #2

      IIRC the makefiles are not automatically generated when the pro file is changed. You have to explicitely run qmake.

      `They did not know it was impossible, so they did it.'
      -- Mark Twain

      JKSHJ 1 Reply Last reply
      0
      • JohanSoloJ JohanSolo

        IIRC the makefiles are not automatically generated when the pro file is changed. You have to explicitely run qmake.

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @JohanSolo said:

        IIRC the makefiles are not automatically generated when the pro file is changed. You have to explicitely run qmake.

        That's correct.

        Or, you can simply delete the build folder.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        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