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

Q_OBJECT functions of Qt3DRender::QSortCriterion cannot be linked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.0 Beta 2
    • 5.7.0
    • Qt3D
    • None
    • Windows 7 64-bit Qt MinGW
    • 5e87e5beee5cfeffaa344ea165fba59ea46f4c57

    Description

      If I try using any of:

      Qt3DRender::QSortCriterion::tr;
      Qt3DRender::QSortCriterion::trUtf8;
      Qt3DRender::qt_getEnumMetaObject;

      I get these linking errors:

      debug/Qt3DRender-inlines.o: In function `ZN10Qt3DRender14QSortCriterion2trEPKcS2_i':
      C:/Qt/Qt5.7.0/5.7/mingw53_32/include/Qt3DRender/qsortcriterion.h:54: undefined reference to `_imp___ZN10Qt3DRender14QSortCriterion16staticMetaObjectE'
      debug/Qt3DRender-inlines.o: In function `ZN10Qt3DRender14QSortCriterion6trUtf8EPKcS2_i':
      C:/Qt/Qt5.7.0/5.7/mingw53_32/include/Qt3DRender/qsortcriterion.h:54: undefined reference to `_imp___ZN10Qt3DRender14QSortCriterion16staticMetaObjectE'
      debug/Qt3DRender-inlines.o: In function `ZN10Qt3DRender20qt_getEnumMetaObjectENS_14QSortCriterion8SortTypeE':
      C:/Qt/Qt5.7.0/5.7/mingw53_32/include/Qt3DRender/qsortcriterion.h:64: undefined reference to `_imp___ZN10Qt3DRender14QSortCriterion16staticMetaObjectE'
      

      Attachments

        For Gerrit Dashboard: QTBUG-55952
        # Subject Branch Project Status CR V

        Activity

          People

            lemire_p Paul Lemire
            ddobrev Dimitar Dobrev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes