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.2k 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.
  • S Offline
    S Offline
    sosun
    wrote on 25 Sept 2015, 13:37 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
    • J Offline
      J Offline
      JohanSolo
      wrote on 25 Sept 2015, 14:09 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

      J 1 Reply Last reply 26 Sept 2015, 02:04
      0
      • J JohanSolo
        25 Sept 2015, 14:09

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

        J Online
        J Online
        JKSH
        Moderators
        wrote on 26 Sept 2015, 02:04 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

        3/3

        26 Sept 2015, 02:04

        • Login

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