Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QHelpEngine with remote file souce, is possible?

    General and Desktop
    qhelpengine qurl remote
    2
    2
    874
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Simmete last edited by Simmete

      Is possible set a remote file on QtHelpEngine?

      QHelpEngine* helpEngine = new QHelpEngine("http://xxx.yyy/zzz/help.qhc", this);

      Or is there anpther way to distribute by remote?
      Thanks

      1 Reply Last reply Reply Quote 0
      • K
        killerman last edited by

        Yes. It is a correct way but before the help engine can be used, it must be initialized by calling setupData().

        QHelpEngine* helpEngine = new QHelpEngine("http://xxx.yyy/zzz/help.qhc", this);
        helpEngine->setupData();
        

        Read more here:
        http://doc.qt.io/qt-4.8/qhelpenginecore.html#details

        1 Reply Last reply Reply Quote 0
        • First post
          Last post