Results 1 to 6 of 6

Thread: Qt Assistant as Custom Help Viewer

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Qt Assistant as Custom Help Viewer

    Hi,
    I use Qt Assistant as Custom Help Viewer.
    I call it from my application like in the example:
    Qt Code:
    1. ...
    2. if (!proc)
    3. proc = new QProcess();
    4.  
    5. if (proc->state() != QProcess::Running) {
    6. QString app = QCoreApplication::applicationDirPath() +
    7. QDir::separator();
    8. #if !defined(Q_OS_MAC)
    9. app += QLatin1String("assistant");
    10. #else
    11. app += QLatin1String("Assistant.app/Contents/MacOS/Assistant");
    12. #endif
    13.  
    14. args << QLatin1String("-collectionFile")
    15. << QCoreApplication::applicationDirPath()
    16. + QDir::separator()
    17. + QLatin1String("helpfile.qhc")
    18. << QLatin1String("-enableRemoteControl");
    19.  
    20. proc->start(app, args);
    21. ...
    To copy to clipboard, switch view to plain text mode 
    If I don't close a documentation tab in the Assistant, i.e. just close the Assistant, and then use my Help button several times in a row I've got several empty tabs like in an attached image.
    How can I get rid of it?
    Thanks in advance.
    Attached Images Attached Images

Similar Threads

  1. Embed VNC Viewer
    By NoRulez in forum Qt Programming
    Replies: 4
    Last Post: 15th March 2021, 17:03
  2. Hex viewer in qt?
    By vishal.chauhan in forum Qt Programming
    Replies: 8
    Last Post: 21st June 2013, 09:58
  3. Application deployment with assistant as help viewer
    By jml in forum Installation and Deployment
    Replies: 18
    Last Post: 5th January 2009, 22:42
  4. HTML viewer
    By wj313 in forum Newbie
    Replies: 8
    Last Post: 13th June 2008, 20:02
  5. jpeg viewer
    By chap19150 in forum Qt Programming
    Replies: 9
    Last Post: 6th June 2006, 12:57

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.