Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-530

When a file includes the generated moc output for a header file as well as its own generated moc output then it will fail to build

    XMLWordPrintable

Details

    • 41966c712db87b252d83593c391951453cc45987

    Description

      When a file includes the generated moc output for a header file as well as its own generated moc output then it will fail to build. For example if it has:

      #include "moc_foo.cpp"
      #include "foo.moc"
      

      then it will have compile errors or linker errors. Using qmake directly works fine.

      Attachments

        1. disable_dynamic_source.PNG
          139 kB
          Miguel Costa
        2. qtvsaddinbug530.zip
          2 kB
          Andy Shaw
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes