Qt Forum

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

    warning MSB8027: Two or more files with the name of moc_application.cpp will produce outputs to the same location.

    German
    2
    5
    3211
    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.
    • G
      Galilio last edited by

      Hallo Zusammen,

      beim builden von einen Projekt bekomme ich die oben genannte Warnung:

       warning MSB8027: Two or more files with the name of moc_application.cpp will produce outputs to the same location. This can lead to an incorrect build result.  The files involved are GeneratedFiles\Debug\moc_application.cpp, GeneratedFiles\Release\moc_application.cpp.
      

      Ich kann ich diese Warnung lösen?
      Was ist der Grund von diese Warnung?
      mir ist schon klar, dass es sich um die gleiche Datei handelt allerdings mit eine kleine Unterschied.
      Eine ist einen Debug Version und die andere ist einen Release Version.

      Danke in voraus

      K 1 Reply Last reply Reply Quote 0
      • K
        koahnig @Galilio last edited by

        @Galilio

        Generierst du gleichzeitig die Debug und die Release version in einem Lauf?

        Vote the answer(s) that helped you to solve your issue(s)

        G 1 Reply Last reply Reply Quote 0
        • G
          Galilio @koahnig last edited by

          @koahnig
          Nein

          K 1 Reply Last reply Reply Quote 0
          • K
            koahnig @Galilio last edited by

            @Galilio

            Da ist ein Bugreport mit dieser Fehlermeldung.

            Verwendest du VS 2013?
            Dann wäre es mit dem Update VS2013 Update 2 getan (siehe Kommentar zum Bugreport).

            Ansonsten müsstest du versuchen die Ausgabe von Debug und Release auf verschiedene Directories zu legen. Wie? Da kenne ich mich allerdings nicht aus.

            Vote the answer(s) that helped you to solve your issue(s)

            G 1 Reply Last reply Reply Quote 0
            • G
              Galilio @koahnig last edited by

              @koahnig said in warning MSB8027: Two or more files with the name of moc_application.cpp will produce outputs to the same location.:

              Verwendest du VS 2013?
              @ Nein
              Ich benutze VS 2015 update 2
              Dann wäre es mit dem Update VS2013 Update 2 getan (siehe Kommentar zum Bugreport).
              Ansonsten müsstest du versuchen die Ausgabe von Debug und Release auf verschiedene Directories zu legen. Wie? Da kenne ich mich allerdings nicht aus.
              @ Wie das geht weiss ich schon. Die Ausgabe der Debug bzw. Release sind schon unterschiedlich aber trotzdem habe ich eine Warnung

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