Qt Assistant: How to open documentation written in Microsoft Word



  • Hello,

    I've written the software documentation in Microsoft word and would like to open it from my software in a window similar to Qt assistant,

    Any suggestions ?
    Thanks,

    [EDIT: I have split this into a new thread -- JKSH]


  • Moderators

    [quote author="AbdelAli" date="1406879511"]Hello,

    I've written the software documentation in Microsoft word and would like to open it from my software in a window similar to Qt assistant,

    Any suggestions ?
    Thanks, [/quote]

    Yes, I suggest opening another topic for this.

    But I will answer here. Use QDesktopServices::openUrl() to open it using MS Word. Other possibility (available only on Windows) is to use QAxContainer. QtHelp does not have support for word documents.



  • [quote author="sierdzio" date="1406879899"][quote author="AbdelAli" date="1406879511"]Hello,

    I would like to open it from my software in a window similar to Qt assistant,
    [/quote]
    Use QDesktopServices::openUrl() to open it using MS Word.[/quote]

    QDesktopServices::openUrl() will open the doc file in work, but I would like to have a Help Screen exactly similar to Qt assistant, I can export an mht file for my doc file,
    I'm wondering if Qt SDK offers opening mht files in Assistant ?


  • Moderators

    Hi,

    [quote]I’m wondering if Qt SDK offers opening mht files in Assistant ?[/quote]No, Qt Assistant only opens QCH files.

    Note: If you want to use Qt Assistant, it is best to write your documentation in the source code itself. This also makes it easier to sync your documentation with your code. See the "Doxygen manual":http://www.stack.nl/~dimitri/doxygen/manual/docblocks.html


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.