Results 1 to 5 of 5

Thread: Deployment Problem

  1. #1
    Join Date
    Sep 2011
    Location
    India
    Posts
    21
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Deployment Problem

    i have develop an application in qt and trying to deploy it in another Linux machine( on Ubuntu)

    i have tried static linking method but in that case my application's GUI not showing correctly its fonts becomes too big and it is not looking as i have made it.

    secondly i have tried Dynamic linking also and collect all dependencies( libraries ) and run on other machine on ubuntu but background image is not coming, i have added them in my recourse file(.qrc), and i am not getting that how to made an automated installer for dynamic link method by which all libraries and there path registers in the system...

    please help me out..........

    how to do that................

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Deployment Problem

    On Linux, you need to bundle the:
    • Application and any external data files it depends on
    • Qt core dynamic libraries
    • Qt plugins that you use, especially image format and SQL plugins.
    • Usually a wrapper script to set LD_LIBRARY_PATH so the application can find the bundled dynamic libraries

    See Creating the Application Package

  3. #3
    Join Date
    Sep 2011
    Location
    India
    Posts
    21
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment Problem

    thanking you for your reply...

    i did this and make the package with the libs and use wrapper script in it.

    but one problem still their. i.e

    application running correctly but background image is not coming on client side machine. i have put them in a folder and provide path by style sheet. but still this problem is coming.
    which lib. or plugin used for it can you specify........

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Deployment Problem

    No, I cannot specify. I have no idea what your application needs. You might be missing a plugin for JPEG or TIFF or you might be assuming the background image is somewhere it is not.

    Here is an example deployment layout including plugins of several types.

  5. #5
    Join Date
    Sep 2011
    Location
    India
    Posts
    21
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment Problem

    dear Chris

    i have done what you have toled in your previous blog( in given link) and added plugins path in to my application but still its not showing the background image on other system on ubuntu.....

    it worked in windows but not in ubuntu.........


    Added after 8 minutes:


    dear Chris

    thanking you my problem solved..

    your post helped me so much....
    Last edited by un9tsandeep; 21st December 2011 at 07:26.

Similar Threads

  1. qml deployment problem
    By jackfan in forum Installation and Deployment
    Replies: 0
    Last Post: 18th August 2011, 11:11
  2. Mac deployment problem
    By MarkSutton71 in forum Installation and Deployment
    Replies: 1
    Last Post: 15th May 2011, 04:12
  3. !!!! problem deployment of a Mac
    By eric_vi in forum Installation and Deployment
    Replies: 0
    Last Post: 21st May 2010, 15:38
  4. deployment problem in solaris9
    By omprakash in forum Installation and Deployment
    Replies: 1
    Last Post: 6th July 2008, 19:01
  5. mac deployment problem
    By munna in forum Installation and Deployment
    Replies: 1
    Last Post: 6th December 2006, 14:38

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.