Results 1 to 5 of 5

Thread: gif needs to be beside the application?

  1. #1
    Join Date
    Dec 2007
    Posts
    129
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default gif needs to be beside the application?

    hi guys i have created a gif and played to a label using qmovie.. and the gif is showing however the gif should be beside the application how can i embed the gif to my application like the other bmp.

    i already build qt as static with the parameters for gif.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: gif needs to be beside the application?

    What does "gif should be beside the application" mean? You mean as a resource? What's the difference to bmp? How is static linking related to the problem? Presumably you are importing the image format plugin since you can see the gif.
    J-P Nurmi

  3. #3
    Join Date
    Dec 2007
    Posts
    129
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: gif needs to be beside the application?

    Quote Originally Posted by jpn View Post
    What does "gif should be beside the application" mean? You mean as a resource? What's the difference to bmp? How is static linking related to the problem? Presumably you are importing the image format plugin since you can see the gif.
    i mean the gif should be there with the application in deployment but the BMP do not require that you just put it in resources set it as pixmap and olla the bmp is embeded and do not needs to be deployed together with the application. I can still see the image (bmp) even the picture is not existing in the deployment. Ofcourse i dont want others to go get and see my gif files..

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: gif needs to be beside the application?

    If you dont want others to see your files, dont embed them in resource files.
    Just give a path or simple names for the files. If the files are not present, the image wont be loaded.
    So you have the option of giving the image files with your application.
    Hope I understood ur problem correctly

  5. #5
    Join Date
    Dec 2007
    Posts
    129
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: gif needs to be beside the application?

    Quote Originally Posted by aamer4yu View Post
    If you dont want others to see your files, dont embed them in resource files.
    Just give a path or simple names for the files. If the files are not present, the image wont be loaded.
    So you have the option of giving the image files with your application.
    Hope I understood ur problem correctly
    what i want is that the image will be loaded even If the (picture)files are not present.. like the .bmp they were loading even they do not exist together with the application in deployment. (just add them in .qrc and set it as pixmap) i want the same thing in my .gif files but how?

    i try to set it as pixmap but the image is not moving (however it doesnt require the .gif to be present together with the application but still its not moving).


    .bmp + application -> deployment -> application only (.bmp will show)

    .gif + application -> deployment - > .gif + application (if i remove .gif the .gif will not show)

    I want:

    .gif + application ->deployment -> application only (.gif will show)


    that is why i said i already build my application as static with gif configurations..

Similar Threads

  1. Qt Application + Web Integration -- Help needed
    By swamyonline in forum Qt Programming
    Replies: 0
    Last Post: 17th February 2009, 11:59
  2. Tool for web application?
    By cool_qt in forum General Programming
    Replies: 3
    Last Post: 9th December 2008, 09:21
  3. Start Qt application as Windows Service
    By ^NyAw^ in forum Qt Programming
    Replies: 12
    Last Post: 10th May 2008, 17:23
  4. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37

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
  •  
Qt is a trademark of The Qt Company.