2 Attachment(s)
how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
Hello, gus...
I am compiling Qt-everywhere-opensource-src-4.6.0 for my embedded system, arm9 + linux2.6.20 based, cross toolchain is "gcc-3.4.5-glibc-2.3.6"
I see that there is a "animation" feature new in Qt 4.6.0, but ...
./configure -no-feature-animation // see my attachments for more about configurations
error:
animation/qguivariantanimation.cpp:56: error: `_q_interpolate' is not a template function
animation/qguivariantanimation.cpp:56: error: invalid function declaration
animation/qguivariantanimation.cpp:64: error: `_q_interpolate' is not a template function
animation/qguivariantanimation.cpp:64: error: invalid function declaration
animation/qguivariantanimation.cpp: In function `int qRegisterGuiGetInterpolator()':
animation/qguivariantanimation.cpp:70: error: `qRegisterAnimationInterpolator' was not declared in this scope
animation/qguivariantanimation.cpp:70: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:70: error: `_q_interpolateVariant' was not declared in this scope
animation/qguivariantanimation.cpp:70: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:70: error: expected primary-expression before ')' token
animation/qguivariantanimation.cpp:71: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:71: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:71: error: expected primary-expression before ')' token
animation/qguivariantanimation.cpp:72: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:72: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:72: error: expected primary-expression before ')' token
animation/qguivariantanimation.cpp:73: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:73: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:73: error: expected primary-expression before ')' token
animation/qguivariantanimation.cpp:74: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:74: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:74: error: expected primary-expression before ')' token
animation/qguivariantanimation.cpp: In function `int qUnregisterGuiGetInterpolator()':
animation/qguivariantanimation.cpp:82: error: `qRegisterAnimationInterpolator' was not declared in this scope
animation/qguivariantanimation.cpp:82: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:84: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:86: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:88: error: expected primary-expression before '>' token
animation/qguivariantanimation.cpp:90: error: expected primary-expression before '>' token
make[2]: *** [.obj/release-shared-emb-arm/qguivariantanimation.o] Error 1
make[2]: *** Waiting for unfinished jobs....
embedded/qscreenlinuxfb_qws.cpp: In member function `virtual bool QLinuxFbScreen::connect(const QString&)':
embedded/qscreenlinuxfb_qws.cpp:346: warning: comparison between signed and unsigned integer expressions
embedded/qscreenlinuxfb_qws.cpp:348: warning: comparison between signed and unsigned integer expressions
make[2]: Leaving directory `/home/wesley/workspace/te9263/external-components/qt/_build/qt-everywhere-opensource-src-4.6.0/src/gui'
make[1]: *** [sub-gui-make_default-ordered] Error 2
make[1]: Leaving directory `/home/wesley/workspace/te9263/external-components/qt/_build/qt-everywhere-opensource-src-4.6.0'
make: *** [all] Error 2
================================================== ===================================
Is there something wrong ?
As you see(see my attachments for more abot the errors), there is not a QT_NO_ANIMATON in the compiler flags list, but actually I disable the "animation" module in configure.
how to disable "animation" in Qt 4.6.0, or how to work around this error if i keep animation turn on..?
Any idea .?
the attached files are stored using unix format, so you may want to use the ultraEdit or something else to open it..
Thanks every much...
/WX
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
The flag should be -no-feature animation I think. (Without dash between -no-feature and animation)
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
Quote:
Originally Posted by
axeljaeger
The flag should be -no-feature animation I think. (Without dash between -no-feature and animation)
Thanks for reply
./configure with "-no-feature animation " is not working.
./configure complain me
-no-feature : invalid command-line switch
animation: unknown argument
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
Where did you get that -no-feature-animation switch from ?
Code:
./configure --help | grep animation
shows up nothing here(Qt 4.6.0 everywhere edition).
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
Quote:
Originally Posted by
axeljaeger
Where did you get that -no-feature-animation switch from ?
Code:
./configure --help | grep animation
shows up nothing here(Qt 4.6.0 everywhere edition).
there is a undocumented option for configure, "-embedded" will give some additional options for embeded linux
try ./configure -embedded --help | less, and grep the "feature" out,
or just ./configure -embedded --help | grep feature,
have look at the -no-feature-<feature> and -feature-<feature> option details.
/WX
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
I had tried "./configure -no-feature-ANIMATION" (uppercase), but it also lead to the same error
also, I defined a macro named "QT_NO_ANIMATION"("src/corelib/global/feature.txt" say that it is a available option) in a config file "qconfig-myconfig.h",
and then copy it into "src/corelib/global/", "./configure -qonfig myconfig" and make,
unfortunately, the "animation" feature still be open ... the same error happen ...
/WX
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
or ... is this a bug of Qt 4.6.0 ? does it be fixed on Qt 4.6.1 ?
/WX
Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0
HI to all.........
I need to compile phonon module for Embedded Arm.. I want to get video from webcam and display on Qt Window using Phonon Module.. Plz suggest me how to do it.