[Qt-interest] Qt Integration with OS X Help system?

Israel Brewster israel at frontierflying.com
Fri Nov 27 20:17:14 CET 2009


Ok, I got the WebKit integration to compile, finally, and QWebView  
does an admirable job of displaying my help files, so that's good.  
Just one quick follow-up question: Is there a way to make external  
(non-relative and/or new window) links open in the users default web  
browser? I want the help file links to stay in the QWebView, but when  
I link to an external page, I want that link to open in a real web  
browser. Thanks!

On Nov 26, 2009, at 10:56 AM, Israel Brewster wrote:

> I was thinking of perhaps simply displaying my help files using a  
> QWebView, but I can't get Qt to compile with WebKit, so that's not  
> an option. So What other options do I have? I suppose I could just  
> have it open a simple dialog instructing the user to see the on-disk  
> documentation, but that feels rather cheesy to me. Is there a way to  
> have Qt execute a system command? I may be able to work up a shell  
> script or simple objective-C program that opens the Mac OS X help  
> viewer that I could simply call from Qt. I'm running out of ideas  
> here - any feedback would be appreciated. Thanks!
>
> On Nov 25, 2009, at 10:31 AM, Israel Brewster wrote:
>
>> Well, I tried using the QHelp/QtAssistant system, but while I was  
>> able to generate the .qch and .qhp files and open them in  
>> Assistant, it totally mangled them. Much of my layout (using CSS)  
>> was gone, and many of my images showed up as generic icons while  
>> others didn't show up at all. Some pages worked, while others it  
>> complained about not being able to find. Needless to say, that's  
>> not going to work for me :-) I may have messed up somewhere in the  
>> generation of the help files, but I'm pretty sure I got all the  
>> files listed. So what are my options here? As stated in my original  
>> message, I'd like to integrate with the Mac OS X provided help  
>> viewer, if possible - my files show up perfectly there. Thanks!
>>
>> On Nov 24, 2009, at 1:46 PM, Israel Brewster wrote:
>>
>>> Is there a way to integrate Qt with the built-in help system on  
>>> Mac OS X? I'd like to be able to just pull up the OS X assistant  
>>> when the user chooses help. If that's not an option, then what is  
>>> the best way to do something similar, completely within Qt? My  
>>> help files are html pages, including a number of links to external  
>>> webpages that I would like to have open in the users default web  
>>> browser. Thanks!
>>>
>>> -----------------------------------------------
>>> Israel Brewster
>>> Computer Support Technician II
>>> Frontier Flying Service Inc.
>>> 5245 Airport Industrial Rd
>>> Fairbanks, AK 99709
>>> (907) 450-7250 x293
>>> -----------------------------------------------
>>>
>>> <Israel Brewster.vcf>
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>> -----------------------------------------------
>> Israel Brewster
>> Computer Support Technician II
>> Frontier Flying Service Inc.
>> 5245 Airport Industrial Rd
>> Fairbanks, AK 99709
>> (907) 450-7250 x293
>> -----------------------------------------------
>>
>> <Israel Brewster.vcf>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician II
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
> <Israel Brewster.vcf>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091127/b39d8ba4/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091127/b39d8ba4/attachment.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091127/b39d8ba4/attachment-0001.html 


More information about the Qt-interest-old mailing list