Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-4966

qcollectiongenerator: need remove cache file prior to Assistant start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 4.6.0
    • 4.5.2
    • Tools: Assistant
    • None
    • c059c6f2add4a500121c19b0c95d0c57196285ba

      Product
      Qt
      Function
      Assistant
      Version
      4.5.2
      Platform
      Mac OS X
      Platform details
      Using Qt-4.5.2 opensource version on Mac OS X Tiger (10.4.11)
      Compilers
      GCC
      Compiler details
      Subject
      qcollectiongenerator: need remove cache file prior to Assistant start
      Steps to reproduce / test case
      0) Follow the "simpletextviewer" example.
      1) Do 'qcollectiongenerator doc.qhcp -o doc.qhc'
      2) Run '.../Assistant -collectionFile doc.qhc'
      3) It works.
      4) Quit Assistant.
      5) Re-start Assistant ... all is still okay.
      6) Quit Assistant.
      7) Change some docs content (or edit doc.qhcp or edit doc.qhp)
      8) Do 'qcollectiongenerator doc.qhcp -o doc.qhc'
      9) Run '.../Assistant -collectionFile doc.qhc'
      10) It starts, but then crashes soon after display. Issues "Bus error" to the terminal and see attached Assistant.crash.log.gz
      11) Remove the copy of doc.qhc from cacheDirectory in QDesktopServices::DataLocation (or if not using cacheDirectory element in doc.qhcp file, then remove ${QDesktopServices::DataLocation}/Trolltech/Assistant/doc.qhc)
      12) Re-start Assistant ... all is now okay.
      13) Subsequent edits of content and re-run of qcollectiongenerator then Assistant will be okay only if that copy of doc.qhc is removed before starting Assistant.
      More information
      This seems very similar to Issue 256903 (QTBUG-4235)

            kandeler Christian Kandeler
            edie Daron Andrew Edie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: