Results 1 to 2 of 2

Thread: QHelpEngine, cannot open qhc file

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default QHelpEngine, cannot open qhc file

    Hello,

    i have an application which contains online help by using QHelpEngine. The help context is shown in a text browser.
    I create the help engine by the following code
    Qt Code:
    1. myHelpEngine = new QHelpEngine("file.qhc");
    2. if (!myHelpEngine->setupData())
    3. emit setError(3, 160, myHelpEngine->error());
    To copy to clipboard, switch view to plain text mode 

    If I run the applikation on a PC were Qt is installed everything works fine. But if run it on a PC were no Qt is installed, I got the error message "Cannot open collection file: file.qhc".

    Could anybody tell me what i have to install in addition, to use QHelpEngine?

  2. #2
    Join Date
    Jun 2010
    Location
    India
    Posts
    50
    Thanks
    1
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile Re: QHelpEngine, cannot open qhc file

    QtHelp may require some plugins shipped with Qt. Check out your plugins folder and set the correct paths or try Copying the entire plugins Directory to your Application path.

  3. The following user says thank you to agathiyaa for this useful post:

    hirti (14th June 2010)

Similar Threads

  1. Using QHelpEngine
    By dima1000 in forum Newbie
    Replies: 1
    Last Post: 23rd January 2011, 00:48
  2. Replies: 5
    Last Post: 15th June 2010, 07:42
  3. Replies: 4
    Last Post: 9th May 2010, 16:18
  4. Replies: 2
    Last Post: 9th March 2010, 05:21
  5. Replies: 10
    Last Post: 15th June 2009, 19:44

Tags for this Thread

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.