Results 1 to 9 of 9

Thread: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0

  1. #1
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default 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
    Attached Files Attached Files
    Last edited by wesley; 7th January 2010 at 18:28.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default 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)
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0

    Quote Originally Posted by axeljaeger View Post
    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

  4. #4
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0

    Where did you get that -no-feature-animation switch from ?
    Qt Code:
    1. ./configure --help | grep animation
    To copy to clipboard, switch view to plain text mode 
    shows up nothing here(Qt 4.6.0 everywhere edition).
    It's nice to be important but it's more important to be nice.

  5. #5
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0

    Quote Originally Posted by axeljaeger View Post
    Where did you get that -no-feature-animation switch from ?
    Qt Code:
    1. ./configure --help | grep animation
    To copy to clipboard, switch view to plain text mode 
    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
    Last edited by wesley; 9th January 2010 at 16:49.

  6. #6
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default 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
    Last edited by wesley; 9th January 2010 at 19:00.

  7. #7
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default Re: how to disable animation feature in Qt-everywhere-opensource-src-4.6.0

    Any idea ?

  8. #8
    Join Date
    Feb 2008
    Posts
    49
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default 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

  9. #9
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Arrow 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.

Similar Threads

  1. How to turn off this annoying feature of QColumnView?
    By jwieland in forum Qt Programming
    Replies: 11
    Last Post: 3rd September 2010, 17:38
  2. Qt on S60 problem:'Menu Feature not supported'
    By Amit_3117 in forum Qt Programming
    Replies: 1
    Last Post: 13th October 2009, 06:38
  3. Implementing Autoscroll feature in QT-WebKit
    By srinirao in forum Qt Programming
    Replies: 0
    Last Post: 3rd August 2009, 11:58
  4. Firebird SQL Driver and Feature POST_EVENT
    By estanisgeyer in forum Qt Programming
    Replies: 1
    Last Post: 28th October 2008, 20:49
  5. QTransform scaling and translate feature.
    By AmolShinde_8 in forum Qt Programming
    Replies: 1
    Last Post: 18th October 2008, 10:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.