Results 1 to 20 of 23

Thread: How to deploy?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: How to deploy?

    Then your plugin is still not at the right position. When I remember right, the folder imageformats also have to be in a folder called plugins or you set a custom plugin path in your application.

  2. #2
    Join Date
    Jul 2010
    Posts
    24
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3

    Default Re: How to deploy?

    The forlder imageformats is in qt\bin.

    there is nothing mentioned about plugins.

    in my project file, i tried QTPLUGINS += qjpeg.

    the QTPLUGINS did not highlight, nor did doing this have the images displayed.

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: How to deploy?

    Quote Originally Posted by aash_89 View Post
    The folder imageformats is in qt\bin.
    Not on my machine, and you never know what extra paths Qt sets internally. But you have to create the directory plugins for your application, unless you set a custom path.

    there is nothing mentioned about plugins.
    There is: /path/to/Qt/qt/plugins. You probably using the wrong libraries. You have to take the libraries from the subdirectory qt! The bin in the root directory is only for creator.

    See http://doc.trolltech.com/4.6/deployment-windows.html!

    in my project file, i tried QTPLUGINS += qjpeg.

    the QTPLUGINS did not highlight, nor did doing this have the images displayed.
    It is called QTPLUGIN and it is only for static plugins. So you don't need it.

  4. The following user says thank you to Lykurg for this useful post:

    aash_89 (26th July 2010)

  5. #4
    Join Date
    Jul 2010
    Posts
    24
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3

    Default Re: How to deploy?

    Thank you!!!
    That was the mistake i was doing.
    I was taking it from bin.

    Now i copied it from the qt sub folder it works! Thank you!

    In this was of including dynamic libraries, is it possible to have it work on other OS too?

    what is the advantage of building qt statically and then doing the deployment?

  6. #5
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    23
    Thanked 32 Times in 28 Posts

    Default Re: How to deploy?

    Quote Originally Posted by aash_89 View Post
    what is the advantage of building qt statically and then doing the deployment?
    Check the wiki here, the pros and cons section
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

Similar Threads

  1. Has anybody ever able to deploy qt application?
    By Tarun in forum Installation and Deployment
    Replies: 16
    Last Post: 22nd February 2010, 10:08
  2. Trying to deploy a bundle
    By afflictedd2 in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2009, 20:39
  3. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 11:21
  4. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 10:34
  5. Deploy Qt project
    By navi1084 in forum Installation and Deployment
    Replies: 3
    Last Post: 9th October 2008, 20:39

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.