Results 1 to 7 of 7

Thread: Help in the executable

  1. #1
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Help in the executable

    Hi ,

    I've deployed my application and it is running successfully. The application has a need of Qt4 assistant for help. We have created the help files using the document given in Qt Developer documents. I've also included the assistant and its respective shared objects in my deployment folder, but i could not access assistant. Please help in solving this.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help in the executable

    Here you can read how to use Assistant as custom help viewer
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Help in the executable

    Quote Originally Posted by mcosta View Post
    Here you can read how to use Assistant as custom help viewer
    I've used assistant as custom help viewer when i was developing the code.But when i deployed the application in another system , there should be assistant present in that system. If it is not present how can the help work in the deployed application? Should i copy the assistant to the deployed system and all the library files along with it or is there any other way.

  4. #4
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help in the executable

    You have to copy assistant and its dependencies to the target system.
    A camel can go 14 days without drink,
    I can't!!!

  5. #5
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Help in the executable

    Thanks for the reply, could you please let me know where to copy the assistant? If I include the dependencies in the LD_LIBRARY_PATH will it suffice?

  6. #6
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help in the executable

    use ldd to find assistant dependencies, then copy all libraries in the same directory where you copy the executable. it's the same you do with your executable
    A camel can go 14 days without drink,
    I can't!!!

  7. #7
    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: Help in the executable

    The assistant is dependent on many of the same Qt libs your program is. If you put them in the same place as your deployed application finds them then they should be found when you launch assistant from inside your app. If you want to launch assistant from outside you app then use the same launch wrapper script.

Similar Threads

  1. Mac OSX: missing executable ?
    By Hiwa in forum Qt Tools
    Replies: 2
    Last Post: 22nd April 2011, 15:02
  2. Icon for executable
    By schan117 in forum Qt Programming
    Replies: 1
    Last Post: 22nd September 2009, 16:58
  3. Error in executable
    By qtuser20 in forum Qt Programming
    Replies: 1
    Last Post: 11th August 2009, 01:34
  4. Building Executable
    By deville75 in forum Newbie
    Replies: 4
    Last Post: 22nd July 2009, 07:21
  5. Static Executable
    By perseo in forum Qt Programming
    Replies: 1
    Last Post: 20th May 2008, 21: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.