Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. ExamplesPath wrong in Qt-5.4\help
QtWS25 Last Chance

ExamplesPath wrong in Qt-5.4\help

Scheduled Pinned Locked Moved General and Desktop
examplescontextsensitiv
3 Posts 2 Posters 1.1k Views
  • 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 Offline
    C Offline
    Carsten Hansen
    wrote on 16 Mar 2015, 18:22 last edited by
    #1

    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
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Mar 2015, 22:30 last edited by
      #2

      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
      0
      • C Offline
        C Offline
        Carsten Hansen
        wrote on 17 Mar 2015, 13:34 last edited by
        #3

        Thanks!

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

        1 Reply Last reply
        0

        1/3

        16 Mar 2015, 18:22

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved