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

LookAt transform causes Windows compile failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Some future release
    • 4.7.1
    • Qt3D
    • None
    • Qt 4.7.1 compiled from source. qt-labs-qt3d from git repository
      Windows Vista SP2 and win32-msvc2008.
      Video Card HD3200 mobile series.
    • 1b1255c5de972b9b129434773feb9172163f4f62

    Description

      Qt working just fine. My other projects are working just fine, however nmake fails at qthreedqmlplugin. Compiled inside VS2008 and still only 82 projects are compiled, but there is an error at the same project. Below is the error description:

      1>------ Build started: Project: Qt3Dd, Configuration: Release Win32 ------
      1>Compiling...
      1>qvector4darray.cpp
      ...
      3>------ Build started: Project: qthreedqmlplugin, Configuration: Release Win32 ------
      3>MOC qgraphicslookattransform.h
      3>Compiling...
      3>moc_qgraphicslookattransform.cpp
      3>.\release\moc_qgraphicslookattransform.cpp(67) : warning C4273: 'staticMetaObject' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(57) : see previous definition of 'public: static QMetaObject const QGraphicsLookAtTransform::staticMetaObject'
      3>.\release\moc_qgraphicslookattransform.cpp(67) : error C2491: 'QGraphicsLookAtTransform::staticMetaObject' : definition of dllimport static data member not allowed
      3>.\release\moc_qgraphicslookattransform.cpp(77) : warning C4273: 'QGraphicsLookAtTransform::metaObject' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(57) : see previous definition of 'metaObject'
      3>.\release\moc_qgraphicslookattransform.cpp(82) : warning C4273: 'QGraphicsLookAtTransform::qt_metacast' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(57) : see previous definition of 'qt_metacast'
      3>.\release\moc_qgraphicslookattransform.cpp(90) : warning C4273: 'QGraphicsLookAtTransform::qt_metacall' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(57) : see previous definition of 'qt_metacall'
      3>.\release\moc_qgraphicslookattransform.cpp(143) : warning C4273: 'QGraphicsLookAtTransform::preserveUpVectorChanged' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(84) : see previous definition of 'preserveUpVectorChanged'
      3>.\release\moc_qgraphicslookattransform.cpp(149) : warning C4273: 'QGraphicsLookAtTransform::subjectChanged' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(85) : see previous definition of 'subjectChanged'
      3>.\release\moc_qgraphicslookattransform.cpp(155) : warning C4273: 'QGraphicsLookAtTransform::upVectorChanged' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(86) : see previous definition of 'upVectorChanged'
      3>.\release\moc_qgraphicslookattransform.cpp(161) : warning C4273: 'QGraphicsLookAtTransform::primaryAngleChanged' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(87) : see previous definition of 'primaryAngleChanged'
      3>.\release\moc_qgraphicslookattransform.cpp(167) : warning C4273: 'QGraphicsLookAtTransform::secondaryAngleChanged' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\release\../qgraphicslookattransform.h(88) : see previous definition of 'secondaryAngleChanged'
      3>viewport.cpp
      3>threed.cpp
      3>stereovieweffect.cpp
      3>stereoview.cpp
      3>shaderprogram.cpp
      3>.\shaderprogram.cpp(421) : warning C4804: '>' : unsafe use of type 'bool' in operation
      3>scale3d.cpp
      3>qt3dnamespace.cpp
      3>qgraphicslookattransform.cpp
      3>.\qgraphicslookattransform.cpp(233) : warning C4273: 'QGraphicsLookAtTransform::QGraphicsLookAtTransform' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(64) : see previous definition of '

      {ctor}

      '
      3>.\qgraphicslookattransform.cpp(241) : warning C4273: 'QGraphicsLookAtTransform::~QGraphicsLookAtTransform' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(65) : see previous definition of '

      {dtor}

      '
      3>.\qgraphicslookattransform.cpp(276) : warning C4273: 'QGraphicsLookAtTransform::preserveUpVector' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(67) : see previous definition of 'preserveUpVector'
      3>.\qgraphicslookattransform.cpp(282) : warning C4273: 'QGraphicsLookAtTransform::setPreserveUpVector' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(68) : see previous definition of 'setPreserveUpVector'
      3>.\qgraphicslookattransform.cpp(336) : warning C4273: 'QGraphicsLookAtTransform::subject' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(70) : see previous definition of 'subject'
      3>.\qgraphicslookattransform.cpp(342) : warning C4273: 'QGraphicsLookAtTransform::setSubject' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(71) : see previous definition of 'setSubject'
      3>.\qgraphicslookattransform.cpp(381) : warning C4273: 'QGraphicsLookAtTransform::upVector' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(73) : see previous definition of 'upVector'
      3>.\qgraphicslookattransform.cpp(387) : warning C4273: 'QGraphicsLookAtTransform::setUpVector' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(74) : see previous definition of 'setUpVector'
      3>.\qgraphicslookattransform.cpp(428) : warning C4273: 'QGraphicsLookAtTransform::primaryAngle' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(76) : see previous definition of 'primaryAngle'
      3>.\qgraphicslookattransform.cpp(477) : warning C4273: 'QGraphicsLookAtTransform::secondaryAngle' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(77) : see previous definition of 'secondaryAngle'
      3>.\qgraphicslookattransform.cpp(486) : warning C4273: 'QGraphicsLookAtTransform::applyTo' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(79) : see previous definition of 'applyTo'
      3>.\qgraphicslookattransform.cpp(513) : warning C4273: 'QGraphicsLookAtTransform::clone' : inconsistent dll linkage
      3> c:\qt\qt-labs-qt3d\src\imports\threed\qgraphicslookattransform.h(80) : see previous definition of 'clone'
      3>floatingitemeffect.cpp
      3>floatingitem.cpp
      3>Generating Code...
      3>Build log was saved at "file://c:\Qt\qt-labs-qt3d\src\imports\threed\release\BuildLog.htm"
      3>qthreedqmlplugin - 1 error(s), 22 warning(s)
      ========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

      TKS
      Vitor Jorge

      Attachments

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

        Activity

          People

            debhal Julian de Bhal (closed Nokia identity) (Inactive)
            vitor_mj Vitor Augusto Machado Jorge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes