[Qt-interest] Can't compile the new animation framework
QT User
userqt at gmail.com
Sat Sep 5 01:05:26 CEST 2009
Hello,
I can't compile it.
I'm trying to build a DLL with configure - library.
But after mingw32-make, here is the output in the console...
../../src/QtState.cpp: In member function `void
QtState::addTransition(QtAbstractTransition*)':
../../src/QtState.cpp:259: error: expected primary-expression before ')'
token
../../src/QtState.cpp:259: error: `Q_D' was not declared in this scope
../../src/QtState.cpp:261: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:261: warning: unused variable 'qWarning'
../../src/QtState.cpp:264: error: expected initializer before '<' token
../../src/QtState.cpp:265: error: `targets' was not declared in this scope
../../src/QtState.cpp:268: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:268: warning: unused variable 'qWarning'
../../src/qtabstractstate_p.h:100: error: `static QtAbstractStatePrivate*
QtAbstractStatePrivate::get(QtAbstractState*)' is pri
../../src/QtState.cpp:271: error: within this context
../../src/qtabstractstate_p.h:103: error: `QtStateMachine*
QtAbstractStatePrivate::machine() const' is private
../../src/QtState.cpp:271: error: within this context
../../src/QtState.cpp:271: error: `d' was not declared in this scope
../../src/qtabstractstate_p.h:100: error: `static QtAbstractStatePrivate*
QtAbstractStatePrivate::get(QtAbstractState*)' is pri
../../src/QtState.cpp:272: error: within this context
../../src/qtabstractstate_p.h:103: error: `QtStateMachine*
QtAbstractStatePrivate::machine() const' is private
../../src/QtState.cpp:272: error: within this context
../../src/QtState.cpp:274: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:274: warning: unused variable 'qWarning'
../../src/QtState.cpp:278: error: 'class QtAbstractTransition' has no member
named 'setParent'
../../src/QtState.cpp:259: warning: unused variable 'Q_D'
../../src/QtState.cpp: At global scope:
../../src/QtState.cpp:286: error:
`QtSignalTransition*QtState::addTransition' is not a static member of `class
QtState'
../../src/QtState.cpp:286: error: `QObject' was not declared in this scope
../../src/QtState.cpp:286: error: `sender' was not declared in this scope
../../src/QtState.cpp:286: error: expected primary-expression before "const"
../../src/QtState.cpp:287: error: expected primary-expression before '*'
token
../../src/QtState.cpp:287: error: `target' was not declared in this scope
../../src/QtState.cpp:288: error: initializer expression list treated as
compound expression
../../src/QtState.cpp:286: error: definition of static data member
'QtState::addTransition' of dllimport'd class
../../src/QtState.cpp:288: error: expected `,' or `;' before '{' token
../../src/QtState.cpp: In member function `QtStateFinishedTransition*
QtState::addFinishedTransition(QtAbstractState*)':
../../src/QtState.cpp:311: error: `QList' was not declared in this scope
../../src/QtState.cpp:311: error: expected primary-expression before '*'
token
../../src/QtState.cpp:311: error: expected primary-expression before '>'
token
../../src/QtState.cpp:311: error: expected primary-expression before ')'
token
../../src/QtState.cpp:311: warning: unused variable 'QList'
../../src/QtState.cpp:258: warning: non-inline function 'void
QtState::addTransition(QtAbstractTransition*)' is defined after p
../../src/QtState.cpp: At global scope:
../../src/QtState.cpp:326: error: `QEvent' has not been declared
../../src/QtState.cpp:326: error: ISO C++ forbids declaration of `parameter'
with no type
../../src/QtState.cpp: In constructor
`<unnamed>::UnconditionalTransition::UnconditionalTransition(QtAbstractState*)':
../../src/QtState.cpp:323: error: `QList' was not declared in this scope
../../src/QtState.cpp:323: error: expected primary-expression before '*'
token
../../src/QtState.cpp:323: error: expected primary-expression before '>'
token
../../src/QtState.cpp:323: error: expected primary-expression before ')'
token
../../src/qtabstracttransition.h:80: error:
`QtAbstractTransition::~QtAbstractTransition()' is private
../../src/QtState.cpp:323: error: within this context
../../src/QtState.cpp:323: warning: unused variable 'QList'
../../src/QtState.cpp: At global scope:
../../src/QtState.cpp:336: error: prototype for `QtAbstractTransition*
QtState::addTransition(QtAbstractState*)' does not match
../../src/QtState.cpp:258: error: candidates are: void
QtState::addTransition(QtAbstractTransition*)
../../src/qtstate.h:91: error: void
QtState::addTransition(int*)
../../src/QtState.cpp:349: error: prototype for `void
QtState::removeTransition(QtAbstractTransition*)' does not match any in c
../../src/qtstate.h:95: error: candidate is: void
QtState::removeTransition(int*)
../../src/QtState.cpp: In member function `void
QtState::removeTransition(QtAbstractTransition*)':
../../src/QtState.cpp:350: error: expected primary-expression before ')'
token
../../src/QtState.cpp:350: error: `Q_D' was not declared in this scope
../../src/QtState.cpp:352: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:352: warning: unused variable 'qWarning'
../../src/qtabstracttransition.h:82: error: `QtState*
QtAbstractTransition::sourceState() const' is private
../../src/QtState.cpp:355: error: within this context
../../src/qtabstracttransition.h:82: error: `QtState*
QtAbstractTransition::sourceState() const' is private
../../src/QtState.cpp:358: error: within this context
../../src/QtState.cpp:358: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:358: warning: unused variable 'qWarning'
../../src/QtState.cpp:361: error: `d' was not declared in this scope
../../src/qtstatemachine_p.h:157: error: `void
QtStateMachinePrivate::unregisterTransition(QtAbstractTransition*)' is
private
../../src/QtState.cpp:363: error: within this context
../../src/QtState.cpp:364: error: 'class QtAbstractTransition' has no member
named 'setParent'
../../src/QtState.cpp:350: warning: unused variable 'Q_D'
../../src/QtState.cpp:361: warning: unused variable 'd'
../../src/QtState.cpp: At global scope:
../../src/QtState.cpp:373: error: expected constructor, destructor, or type
conversion before '<' token
../../src/QtState.cpp: In member function `QtHistoryState*
QtState::addHistoryState(QtState::HistoryType)':
../../src/qthistorystate_p.h:78: error: `static QtHistoryState*
QtHistoryStatePrivate::create(QtState::HistoryType, QtState*)'
../../src/QtState.cpp:385: error: within this context
../../src/QtState.cpp: In member function `QtAbstractState*
QtState::initialState() const':
../../src/QtState.cpp:409: error: expected primary-expression before "const"
../../src/QtState.cpp:409: error: `Q_D' was not declared in this scope
../../src/QtState.cpp:410: error: `d' was not declared in this scope
../../src/QtState.cpp:409: warning: unused variable 'Q_D'
../../src/QtState.cpp:410: warning: unused variable 'd'
../../src/QtState.cpp: In member function `void
QtState::setInitialState(QtAbstractState*)':
../../src/QtState.cpp:419: error: expected primary-expression before ')'
token
../../src/QtState.cpp:419: error: `Q_D' was not declared in this scope
../../src/QtState.cpp:420: error: `d' was not declared in this scope
../../src/QtState.cpp:422: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:422: warning: unused variable 'qWarning'
../../src/QtState.cpp:420: warning: unused variable 'd'
../../src/QtState.cpp:425: error: 'class QtAbstractState' has no member
named 'parentState'
../../src/QtState.cpp:427: error: `qWarning' was not declared in this scope
../../src/QtState.cpp:427: warning: unused variable 'qWarning'
../../src/QtState.cpp:430: error: `d' was not declared in this scope
../../src/QtState.cpp:419: warning: unused variable 'Q_D'
../../src/QtState.cpp:430: warning: unused variable 'd'
../../src/QtState.cpp: At global scope:
../../src/QtState.cpp:436: error: `bool QtState::event' is not a static
member of `class QtState'
../../src/QtState.cpp:436: error: `QEvent' was not declared in this scope
../../src/QtState.cpp:436: error: `e' was not declared in this scope
../../src/QtState.cpp:436: error: definition of static data member
'QtState::event' of dllimport'd class
../../src/QtState.cpp:437: error: expected `,' or `;' before '{' token
../../src/QtState.cpp:441: error: expected constructor, destructor, or type
conversion at end of input
mingw32-make[3]: *** [../../src/QtState] Error 1
mingw32-make[3]: Leaving directory
`C:/qtanimationframework-2.3-opensource/qtanimationframework-2.3-opensource/examples/sub-att
mingw32-make[2]: *** [debug] Error 2
mingw32-make[2]: Leaving directory
`C:/qtanimationframework-2.3-opensource/qtanimationframework-2.3-opensource/examples/sub-att
mingw32-make[1]: *** [sub-sub-attaq-make_default] Error 2
mingw32-make[1]: Leaving directory
`C:/qtanimationframework-2.3-opensource/qtanimationframework-2.3-opensource/examples'
mingw32-make: *** [sub-examples-make_default-ordered] Error 2
there are a lot of these, generally. I'm using win xp with the latest qt
package.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090905/4b6beebb/attachment.html
More information about the Qt-interest-old
mailing list