Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How can I suppress overriding recipe for target warning?
Forum Updated to NodeBB v4.3 + New Features

How can I suppress overriding recipe for target warning?

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 2.6k Views
  • 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.
  • A Offline
    A Offline
    Aaron Kim
    wrote on last edited by Aaron Kim
    #1

    I added CONFIG += object_parallel_to_source to pro file, so the same file name doesn't matter anymore. However, the warning is still printed.
    What word should I add to QMAKE_CXXFLAGS? I can't find something to add like -XXXX (something like -Wno-unused-parameter)

    RatzzR 1 Reply Last reply
    0
    • A Aaron Kim

      I added CONFIG += object_parallel_to_source to pro file, so the same file name doesn't matter anymore. However, the warning is still printed.
      What word should I add to QMAKE_CXXFLAGS? I can't find something to add like -XXXX (something like -Wno-unused-parameter)

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @Aaron-Kim said in How can I suppress overriding recipe for target warning?:

      same file name doesn't matter anymore

      Do you have repeating .cpp and .h in the .pro file?

      --Alles ist gut.

      A 1 Reply Last reply
      1
      • RatzzR Ratzz

        @Aaron-Kim said in How can I suppress overriding recipe for target warning?:

        same file name doesn't matter anymore

        Do you have repeating .cpp and .h in the .pro file?

        A Offline
        A Offline
        Aaron Kim
        wrote on last edited by
        #3

        @Ratzz same name, but in different folder.

        RatzzR 1 Reply Last reply
        0
        • A Aaron Kim

          @Ratzz same name, but in different folder.

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by Ratzz
          #4

          @Aaron-Kim
          Did you do clean build and run qmake ?
          You can also try deleting the output folder and rebuild?
          Edit: Can you try with object_with_source instead of object_parallel_to_source?

          --Alles ist gut.

          1 Reply Last reply
          1
          • A Offline
            A Offline
            Aaron Kim
            wrote on last edited by
            #5

            Thanks, it was because of output folder.
            object_with_source option makes error like when I compile without an option. so I just use object_parallel_to_source

            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