Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, August 2007
How to add gif or avi files in app


Message 1 in thread

hi all
i am working on QT 4.1 using Mac platform
i want to to that how the .giff or ,avi files can be shown in app.


thanks & regards
------------------------
Jyoti Verma
jyoti.verma@xxxxxxxxxxxxxxx



--
 [ signature omitted ] 

Message 2 in thread

Jyoti Verma wrote:
> hi all
> i am working on QT 4.1 using Mac platform
> i want to to that how the .giff or ,avi files can be shown in app.

A third party library like ffmpeg, or if you don't need to be portable
your platform's video support (DirectShow on win32 for example) might be
your best bet here.

--
 [ signature omitted ] 

Message 3 in thread

Craig Ringer schrieb:
> Jyoti Verma wrote:
>> hi all
>> i am working on QT 4.1 using Mac platform
>> i want to to that how the .giff or ,avi files can be shown in app.
> 
> A third party library like ffmpeg, or if you don't need to be portable
> your platform's video support (DirectShow on win32 for example) might be
> your best bet here.

GIF support is already there in Qt, also animated GIF IIRC (I think the 
QMovie class is usable for this). But in Qt 3 you need to explicitly 
enable GIF support with 'configure -gif'. Not sure about Qt 4...

Cheers, Oliver

--
 [ signature omitted ] 

Message 4 in thread

here extracted from output of configure -help command.

...
The defaults (*) are usually acceptable. A plus (+) denotes a default value
 that needs to be evaluated. If the evaluation succeeds, the feature is
 included.
....
    -no-gif ............ Do not compile the plugin for GIF reading support.
 +  -qt-gif ............ Compile the plugin for GIF reading support.
                         See also src/plugins/imageformats/gif/qgifhandler.h


Till Oliver Knoll a écrit :

> Craig Ringer schrieb:
>
>> Jyoti Verma wrote:
>>
>>> hi all
>>> i am working on QT 4.1 using Mac platform
>>> i want to to that how the .giff or ,avi files can be shown in app.
>>
>>
>> A third party library like ffmpeg, or if you don't need to be portable
>> your platform's video support (DirectShow on win32 for example) might be
>> your best bet here.
>
>
> GIF support is already there in Qt, also animated GIF IIRC (I think 
> the QMovie class is usable for this). But in Qt 3 you need to 
> explicitly enable GIF support with 'configure -gif'. Not sure about Qt 
> 4...
>
> Cheers, Oliver
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
 [ signature omitted ]