Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefine reference for the QQuickSpringAnimation #1

Open
cometdlut opened this issue Sep 14, 2017 · 1 comment
Open

undefine reference for the QQuickSpringAnimation #1

cometdlut opened this issue Sep 14, 2017 · 1 comment

Comments

@cometdlut
Copy link

cometdlut commented Sep 14, 2017

@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?

@cometdlut cometdlut reopened this Sep 14, 2017
@jturcotte
Copy link
Member

If you're using git you can use git am inside the qtdeclarative module. If you're using a source package you can probably apply it using patch -p1, also from within the qtdeclarative directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants