Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    ExamplesPath wrong in Qt-5.4\help

    General and Desktop
    examples contextsensitiv
    2
    3
    869
    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.
    • C
      Carsten Hansen last edited by

      I had to change in file
      C:\Qt\Examples\Qt-5.4\help\contextsensitivehelp\helpbrowser.cpp

      From:
      //QString collectionFile = QLibraryInfo::location(QLibraryInfo::ExamplesPath)
      // + QLatin1String("/help/contextsensitivehelp/docs/wateringmachine.qhc");

      To:
      QString collectionFile = "C:/Qt/Examples/Qt-5.4/help/contextsensitivehelp/docs/wateringmachine.qhc";

      Because it searched for
      C:\Qt\5.4\mingw491_32\examples\help\contextsensitivehelp\docs\wateringmachine.qhc

      I am using Windows 7 32-bit

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        It's not really an error per se as the examples where located in the same folder as Qt's install however it looks like with the SDK it has changed a bit.

        You should go to the bug report system and check it's something known. If not please consider opening a new report about it

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • C
          Carsten Hansen last edited by

          Thanks!

          It seems to be an old unresolved bug. I posted on:
          https://bugreports.qt.io/browse/QTBUG-34127

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