Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-98410

cmake build of FilterCompatibleTechniqueJob violates the One Definition Rule

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.1
    • Qt3D
    • None
    • Windows

    Description

      The CMake build of qt3d\tests\auto\render\opengl\FilterCompatibleTechniqueJob uses USE_TEST_ASPECT but tst_filtercompatibletechniquejob.cpp defines its own copy of TestAspect.

      This may result in link errors due to multiple definitions of member functions such as the TestAspect constructor and destructor: they're not inline functions in testaspect.cpp but are inline in tst_filtercompatibletechniquejob.cpp and the definitions are different. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            joemmett Jonathan Emmett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes