Skip to content

undefine reference for the QQuickSpringAnimation #1

@cometdlut

Description

@cometdlut

@jturcotte

When I build the samegame project, I got the following error:
gameareaimpl.cpp:(.text._ZN12SameGameImpl11createBlockEiii[_ZN12SameGameImpl11createBlockEiii]+0x84):‘QQuickSpringAnimation::QQuickSpringAnimation(QObject*)’undefine reference
gameareaimpl.cpp:(.text._ZN12SameGameImpl11createBlockEiii[_ZN12SameGameImpl11createBlockEiii]+0xa0):‘QQuickSpringAnimation::QQuickSpringAnimation(QObject*)’undefine reference
gameareaimpl.cpp:(.text._ZN12SameGameImpl11createBlockEiii[_ZN12SameGameImpl11createBlockEiii]+0x118):‘QQuickSpringAnimation::setSpring(double)’undefine reference
gameareaimpl.cpp:(.text._ZN12SameGameImpl11createBlockEiii[_ZN12SameGameImpl11createBlockEiii]+0x129):‘QQuickSpringAnimation::setDamping(double)’undefine reference
gameareaimpl.cpp:(.text._ZN12SameGameImpl11createBlockEiii[_ZN12SameGameImpl11createBlockEiii]+0x17c):‘QQuickSpringAnimation::setSpring(double)’undefine reference
gameareaimpl.cpp:(.text._ZN12SameGameImpl11createBlockEiii[_ZN12SameGameImpl11createBlockEiii]+0x18d):‘QQuickSpringAnimation::setDamping(double)’undefine reference

It looks we can not use the class in the private directory of QtQuick.
How can i fix the error?
Thank you very much.

I just check again, i forgot the patch.
How can we apply the patch? Apply the patch and rebuild the QtQuick library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions