Results 1 to 12 of 12

Thread: several misc questions - static build, jpeg plugin, etc - please help a newbie!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: several misc questions - static build, jpeg plugin, etc - please help a newbie!

    I think the problem with jpeg is solved now for dynamic qgpeg plugin.
    I am sorry for wasting your time; apparently placing the qgpeg4.dll inside a directory called 'imageformats' in the application bundle was sufficient.

  2. #2
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: several misc questions - static build, jpeg plugin, etc - please help a newbie!

    I found the real cause why jpeg plugin didn't load.
    I tell it for others here so that if someone had the same problem and found this topic can find the answer.
    my jpeg plugin's dll file had hidden file attribute (under MS Windows) and I found that qt doesn't load such hidden plugin dlls. this is not the case for other dlls such as qtgui4.dll, etc.

    indeed since I placed my program directly in the windows startup directory and needed to make hidden the accompanying files, I always made that dll hidden. but fortunately that was not necessary, because qjpeg4.dll should be placed inside another directory (imageformats) there and we can make hidden only that parent directory.

    note: hidden objects in the windows startup directory aren't automatically opened/executed on windows startup.

Similar Threads

  1. Extending a plugin in a static library
    By ultim8 in forum Qt Programming
    Replies: 5
    Last Post: 25th March 2010, 15:10

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.