Hello Paul,

your solution is confirmed to be working.

Hopefully the changes to Doxyfile (and maybe CMakeLists.txt) will be propagated 
to the next release. It would make the life easier for next ones.

Thanks for your assistance.

regards
  Petric

Am Freitag, 28. September 2012, 00:54:36 schrieb Pau Garcia i Quiles:
> Hi,
> 
> I see. The problem is described in this (invalid) bug report:
> 
> https://bugreports.qt-project.org/browse/QTCREATORBUG-5948
> 
> I. e. Qt Creator does not know where to find Wt headers, therefore it
> will not show contextual help.
> 
> Does Qt Creator know about the Wt header and libraries location?
> 
> If you are using CMake as your build system, the proper fix is:
> 
> 1. Copy FindWt.cmake from Wt to your project (for instance, to the
> 'cmake' directory)
> 
> 2. Add this to your CMakeLists.txt:
>    find_package(Wt REQUIRED)
>    set(CMAKE_MODULE_PATH cmake ${CMAKE_MODULE_PATH})
> 
> 3. Tell Qt Creator to re-run CMake so that the new includes and
> libraries get caught and processed.
> 
> 
> BTW: instructions for Qt Creator 2.6.0 beta:
> 
> Tools > Options > Help > Documentation > Add
> 
> Then add the .qch
> 
> On Thu, Sep 27, 2012 at 11:35 PM, Petric Frank <pfr...@gmx.de> wrote:
> > Hello Paul,
> > 
> > thanks. I appriciate your help a lot.
> > 
> > It is working well in Qt Assistant, but not if i add it as additional doc
> > in qtcreator.
> > 
> > I added your qch file to qtcreator (Extras->Settings: Section Help - Tab
> > Documentation).
> > But if i point the cursor in the source file to a class WLineEdit and
> > press the
> > 
> > key F1 the help window opens an tells (translated from german):
> >   This page could not be found
> >   'qthelp://be.emweb.wt/wt-3.2.2-p1/classWt_1_1WLineEdit.html'
> > 
> > qtcreator is at version 2.5.2 (based on Qt 4.8.2) on 64 Bit Linux (Gentoo
> > distribution).
> > 
> > Any hints ?
> > 
> > 
> > Proposal anyway:
> > 
> > Wouldn't it be a good idea to add the respective doxygen config part to
> > the official Wt package ?
> > 
> > It could activate the generation of *.qch files if the tool qhelpcreator
> > (from Qt) is available (it is usually in the search path).
> > 
> > regards
> > 
> >   Petric
> > 
> > Am Donnerstag, 27. September 2012, 22:29:28 schrieb Pau Garcia i Quiles:
> >> Hi,
> >> 
> >> It's fairly easy to generate if you follow this:
> >> 
> >> http://doc.qt.digia.com/qq/qq28-qthelp.html#htmlfilesandhelpprojects
> >> 
> >> The attached patch adds the required commands to the Doxyfile for
> >> 3.2.2-p1. I've uploaded the result to my website:
> >> 
> >> www.elpauer.org/tmp/wt-3.2.2-p1.7z
> >> 
> >> In Qt Assistant:
> >> 
> >> Edit > Preferences > Documentation > Add
> >> 
> >> A long-time with of mine was that EmWeb shipped a "Wt SDK" based on Qt
> >> Creator + Wt (and dependencies) binaries + documentation for Qt
> >> Assistant. Guess we are one step closer...
> >> 
> >> On Thu, Sep 27, 2012 at 9:19 PM, Petric Frank <pfr...@gmx.de> wrote:
> >> > Hello,
> >> > 
> >> > due Wt is using doxygen to generate the docs ...
> >> > 
> >> > As far as i know doxygen is able to create *.qhp-files and start the
> >> > Qt qhelpgenerator tool to generate *.qch files.
> >> > 
> >> > The resulting qch-file can be added to qt-creator as additional help
> >> > source. This would qt-creator allow to show context help on Wt items.
> >> > 
> >> > Due i am not firm in doing this task - is there any helping hand on
> >> > how to do it ?
> >> > Or better - anyone already generated a working set of *.qch files an
> >> > is willing to share ?
> >> > 
> >> > regards
> >> > 
> >> >   Petric
> >> > 
> >> > ----------------------------------------------------------------------
> >> > --- ----- Everyone hates slow websites. So do we.
> >> > Make your web apps faster with AppDynamics
> >> > Download AppDynamics Lite for free today:
> >> > http://ad.doubleclick.net/clk;258768047;13503038;j?
> >> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> >> > _______________________________________________
> >> > witty-interest mailing list
> >> > witty-interest@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> > 
> > -------------------------------------------------------------------------
> > ----- Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://ad.doubleclick.net/clk;258768047;13503038;j?
> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> > _______________________________________________
> > witty-interest mailing list
> > witty-interest@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/witty-interest


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to