Results 1 to 6 of 6

Thread: Assistant & profiles

  1. #1
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Assistant & profiles in QT4.1

    Hello,

    I'd like to use the assistant and QAssistant to provide a help system in my QT4.1 application. However, helpdemo is awol and my feeble attempts at creating an ADP file have failed. I noticed in qt-interest that the same question was asked in mid-2005, and left unanswered.

    Anybody knows?

    Cheers,

    Sébastien Loisel

  2. #2
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Assistant & profiles

    Uhm, can't I get a clarification either way? Is QAssistant currently not usable as a help widget in my application for my custom help files?

    Cheers,

    Sébastien Loisel

  3. #3
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Assistant & profiles

    Read about QAssistantClient i think it must be helpful for you
    a life without programming is like an empty bottle

  4. #4
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Assistant & profiles

    Quote Originally Posted by zlatko
    Read about QAssistantClient i think it must be helpful for you
    I did. The problem is more basic than that.

    I wrote a little .adp file and fired up assistant -profile myadp.adp, but the resulting assistant has nothing in the "contents", "index" and so on, and it doesn't load my startpage.

    I thought I was probably doing something stupid, so I looked for helpdemo but it's not there. So I'm wondering if anyone else got this to work, or if it's not functional yet in QT4.1.0?

    Thanks for the replies,

    Sébastien Loisel

  5. #5
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Assistant & profiles

    show your *.adp file
    a life without programming is like an empty bottle

  6. #6
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Assistant & profiles

    This is my current ADP file. It used to be closer to the original one I found in the doc, but as it didn't work I started trying crazy things, including looking at the Assistant source code...

    sh-2.04$ cat octave-gui.adp
    <!-- -*-html-*- -->

    I had an epic struggle with assistant -profile octave-gui.adp.

    I lost.

    <assistantconfig version="3.2.0">
    <profile>
    <property name="name">OctaveGUI</property>
    <property name="title">Octave GUI</property>
    <property name="startpage">./html/manual.html</property>
    <property name="aboutmenutext">About Octave GUI</property>
    <property name="abouturl">./html/contact.html</property>
    <property name="basepath">./html/</property>
    </profile>

    <dcf ref="manual.html" title="Octave GUI">
    <!-- <section ref="install.html" title="Installing Octave GUI"></section>-->
    <section ref="using.html" title="Using Octave GUI">

    <keyword ref="using.html#starting">Starting Octave GUI</keyword>
    <section ref="using.html#mainwindow" title="The Main Window">

    <keyword ref="mainwindowfilemenu">File Menu</keyword>
    <keyword ref="mainwindowfilestab">Files tab</keyword>
    <keyword ref="mainwindowinputtab">Input tab</keyword>
    </section>

    <section ref="editing.html" title="Editing .m Files">

    <keyword ref="edit.html#editwindowfilemenu">File Menu</keyword>
    <keyword ref="editwindoweditmenu">Edit Menu</keyword>
    <keyword ref="editwindoweditarea">Edit Area</keyword>
    </section>
    <!-- <section ref="contact.html" title="Contact"></section>-->

    <!-- <section ref="html/manual.html" title="How to use Octave GUI">
    <keyword ref="./manual.html#installdocs">Install Docs</keyword>
    <keyword ref="html/manual.html#onlydoc">Example Profile</keyword>
    <keyword ref="./manual.html#hide">Hide Sidebar</keyword>
    <keyword ref="./manual.html#openqabutton">Open</keyword>
    <keyword ref="./manual.html#closeqabutton">Close</keyword>
    <keyword ref="./manual.html#display">Display</keyword>
    </section> -->
    </DCF>
    </assistantconfig>


    Edit: you can view the html directory here:
    http://www.math.mcgill.ca/loisel/oct...e-gui-0.5/html

    Edit 2: The Hello World of adp would probably solve my problem.
    Last edited by sloisel; 17th February 2006 at 16:16.

Similar Threads

  1. systemwide user profiles
    By luf in forum Qt Programming
    Replies: 0
    Last Post: 6th August 2008, 14:12
  2. Qt Assistant path
    By aamer4yu in forum Installation and Deployment
    Replies: 3
    Last Post: 1st February 2007, 14:23
  3. Replies: 1
    Last Post: 18th July 2006, 12:06
  4. Qt assistant under linux
    By jochen_r in forum Newbie
    Replies: 8
    Last Post: 10th January 2006, 08:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.