Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, February 2008
Proxy for web browser and Qt Assistant?


Message 1 in thread

It seems that the web browser applet  (and Qt Assistant) do not work out of the box if you are behind a firewall that requires proxy use.  I couldn't find anywhere in Qt Assistant to set the proxy preferences (nor in the browser sample).  Also, it would be nice if it read the preferences from Internet Explorer when the Qt Webkit browser is first activated.

 

Rob Lefebvre
Operating Manager, ADS Platform
Agilent EEsof
http://www.agilent.com/find/eesof <http://www.agilent.com/find/eesof> 


Message 2 in thread

rob_lefebvre@xxxxxxxxxxx wrote:
>It seems that the web browser applet  (and Qt Assistant) do not work out
> of the box if you are behind a firewall that requires proxy use.  I
> couldn't find anywhere in Qt Assistant to set the proxy preferences
> (nor in the browser sample).  Also, it would be nice if it read the
> preferences from Internet Explorer when the Qt Webkit browser is first
> activated.

Configuring the proxy in Assistant is a missing feature. It's possible to 
do it with code, but there's no interface for it in the program.

As for detecting system-wide proxy settings, there's no such code in Qt. 
In fact, there's not even such thing as "system proxy settings". I will 
try to get something on that for Qt 4.5.0 though. No promises.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 3 in thread

By the way, this would be a pretty big inconvenience for us and our customers, some of whom are defense contractors and use proxies commonly. 

-----Original Message-----
From: Thiago Macieira [mailto:thiago.macieira@xxxxxxxxxxxxx] 
Sent: Tuesday, February 26, 2008 6:37 PM
To: qt4-preview-feedback@xxxxxxxxxxxxx
Cc: LEFEBVRE,ROB (A-USA,ex1)
Subject: Re: Proxy for web browser and Qt Assistant?

rob_lefebvre@xxxxxxxxxxx wrote:
>It seems that the web browser applet  (and Qt Assistant) do not work 
>out  of the box if you are behind a firewall that requires proxy use.  
>I  couldn't find anywhere in Qt Assistant to set the proxy preferences  
>(nor in the browser sample).  Also, it would be nice if it read the  
>preferences from Internet Explorer when the Qt Webkit browser is first  
>activated.

Configuring the proxy in Assistant is a missing feature. It's possible to do it with code, but there's no interface for it in the program.

As for detecting system-wide proxy settings, there's no such code in Qt. 
In fact, there's not even such thing as "system proxy settings". I will try to get something on that for Qt 4.5.0 though. No promises.

--
 [ signature omitted ] 

Message 4 in thread

rob_lefebvre@xxxxxxxxxxx wrote:
>By the way, this would be a pretty big inconvenience for us and our
> customers, some of whom are defense contractors and use proxies
> commonly.

I understand that, but you've managed to do just fine in the past 2.5 
years of Qt 4 without proxy autodetection and proxy support in Assistant.

What changed?

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 5 in thread

A couple of things.  First, the top page in my QAssistant tree was about Phonon, and that page couldn't come up because it was on the remote server.  I since realized that it wasn't ALL pages, but just a few of them.

Second, this isn't a change, but it is an inability to use the new feature: the new Webkit browser looks really nice, but without reasonable handling of proxies, we won't be able to roll it out for our customer base.  So, we're stuck spawning internet explorer or Mozilla.

Thanks!

Rob


-----Original Message-----
From: Thiago Macieira [mailto:thiago.macieira@xxxxxxxxxxxxx] 
Sent: Wednesday, February 27, 2008 1:47 AM
To: qt4-preview-feedback@xxxxxxxxxxxxx
Subject: Re: Proxy for web browser and Qt Assistant?

rob_lefebvre@xxxxxxxxxxx wrote:
>By the way, this would be a pretty big inconvenience for us and our  
>customers, some of whom are defense contractors and use proxies  
>commonly.

I understand that, but you've managed to do just fine in the past 2.5 years of Qt 4 without proxy autodetection and proxy support in Assistant.

What changed?

--
 [ signature omitted ] 

Message 6 in thread

rob_lefebvre@xxxxxxxxxxx wrote:
>A couple of things.  First, the top page in my QAssistant tree was about
> Phonon, and that page couldn't come up because it was on the remote
> server.  I since realized that it wasn't ALL pages, but just a few of
> them.

All of Qt's documentation, including Phonon, is supposed to be local to 
your computer. If it tried to show a remote page, we should have to fix 
the documetantation. Can you tell us how exactly to reproduce the 
problem?

>Second, this isn't a change, but it is an inability to use the new
> feature: the new Webkit browser looks really nice, but without
> reasonable handling of proxies, we won't be able to roll it out for our
> customer base.  So, we're stuck spawning internet explorer or Mozilla.

Do you mean the demo browser or QtHelp?

If you meant the demo browser, it's that: a demo. You should not ship it 
to your own clients unmodified :-)

If you meant QtHelp or assistant itself, then it might be indeed a missing 
feature (I haven't checked -- QtHelp developers on this list, please 
correct me). I doubt we will add that in the 4.4.x series if it isn't 
there, though.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 7 in thread

> >Second, this isn't a change, but it is an inability to use the new
> > feature: the new Webkit browser looks really nice, but without
> > reasonable handling of proxies, we won't be able to roll it out for our
> > customer base.  So, we're stuck spawning internet explorer or Mozilla.
>
> Do you mean the demo browser or QtHelp?
>
> If you meant the demo browser, it's that: a demo. You should not ship it
> to your own clients unmodified :-)

For what it is worth I added http/socks5 proxy configuration to the browser 
demo this morning.  You will see it in tonight's snapshot.

-Benjamin Meyer

Attachment:

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 8 in thread

On Wednesday 27 February 2008 07:50, rob_lefebvre@xxxxxxxxxxx wrote:

> A couple of things.  First, the top page in my QAssistant tree was about
> Phonon, and that page couldn't come up because it was on the remote server.
> I since realized that it wasn't ALL pages, but just a few of them.

Actually, the problem with some of the pages in the Phonon documentation is
a separate issue. We're working on a fix for that. See this message and any
follow-ups for more information:

http://lists.trolltech.com/qt4-preview-feedback/2008-02/msg00064.html#msg00064

David
-- 
 [ signature omitted ] 

Message 9 in thread

Hi,
at the developer days in Munich this year, I had heard about some thoughs 
to use e.g. Internet Explorer settings for use as proxy settings (only under
windows.)
or konqueror settings under KDE in QT.
As we also need access to proxy settings for our app, 
As not all of our users are able to handle that.
We implemented this feature now for our own (for the moment only for
windows),
And it were not as difficult as we thought in the beginning.
So why implementing this feature so late (Qt 4.5.x ) ???

Regards
Karl-Heinz
www.techdrivers.de


> -----Ursprüngliche Nachricht-----
> Von: rob_lefebvre@xxxxxxxxxxx [mailto:rob_lefebvre@xxxxxxxxxxx]
> Gesendet: Mittwoch, 27. Februar 2008 01:29
> An: qt4-preview-feedback@xxxxxxxxxxxxx
> Betreff: RE: Proxy for web browser and Qt Assistant?
> 
> By the way, this would be a pretty big inconvenience for us and our
> customers, some of whom are defense contractors and use proxies
> commonly.
> 
> -----Original Message-----
> From: Thiago Macieira [mailto:thiago.macieira@xxxxxxxxxxxxx]
> Sent: Tuesday, February 26, 2008 6:37 PM
> To: qt4-preview-feedback@xxxxxxxxxxxxx
> Cc: LEFEBVRE,ROB (A-USA,ex1)
> Subject: Re: Proxy for web browser and Qt Assistant?
> 
> rob_lefebvre@xxxxxxxxxxx wrote:
> >It seems that the web browser applet  (and Qt Assistant) do not work
> >out  of the box if you are behind a firewall that requires proxy use.
> >I  couldn't find anywhere in Qt Assistant to set the proxy preferences
> >(nor in the browser sample).  Also, it would be nice if it read the
> >preferences from Internet Explorer when the Qt Webkit browser is first
> >activated.
> 
> Configuring the proxy in Assistant is a missing feature. It's possible
> to do it with code, but there's no interface for it in the program.
> 
> As for detecting system-wide proxy settings, there's no such code in
> Qt.
> In fact, there's not even such thing as "system proxy settings". I will
> try to get something on that for Qt 4.5.0 though. No promises.
> 
> --
> Thiago José Macieira - thiago.macieira AT trolltech.com Trolltech ASA -
> Sandakerveien 116, NO-0402 Oslo, Norway
> 
> To unsubscribe - send "unsubscribe" in the subject to qt4-preview-
> feedback-request@xxxxxxxxxxxxx

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 10 in thread

On Wednesday 27 February 2008 08:47:50 karl-heinz reichel wrote:
> Hi,
> at the developer days in Munich this year, I had heard about some thoughs
> to use e.g. Internet Explorer settings for use as proxy settings (only
> under windows.)
> or konqueror settings under KDE in QT.
> As we also need access to proxy settings for our app,
> As not all of our users are able to handle that.
> We implemented this feature now for our own (for the moment only for
> windows),
> And it were not as difficult as we thought in the beginning.
> So why implementing this feature so late (Qt 4.5.x ) ???

We plan on doing that, yes. Maybe Windows and Mac configuration would be easy 
to get, but mind you it's just configurations for browsers. It cannot apply 
to all network connections because we don't know if the proxy supports them.

For instance, you may have an HTTP proxy configured for web browsing, but you 
should use a SOCKS5 proxy for generic connections.

As for Linux, there's no standard. Konqueror's configuration is also not easy 
to implement, because it can be on many different files. We could maybe 
run "kreadconfig", but I'd rather not do that.

My plans for Linux is to finally come up with a standard for proxy 
configurations, for web browsing and generic connections alike. Qt 4.5 and 
KDE 4.1 would be the first to implement it.

As for why Qt 4.5, the answer is simple: Qt 4.4 is already feature-frozen. New 
features only in the next minor release.

PS: you can easily set the proxy for any Qt application via plugin.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 11 in thread

Sure.  Just open QAssistant and try to view any of the reference pages for Phonon.  On my system, I get errors that it can't get to the trolltech site.

As for the browser: We have been wanting to use dynamic content for certain sections of our app, meaning content that we want to be able to change.  If we use the webkit browser to get to that, we will also have to provide a way to let the user set the proxy.  (Qt has probably spoiled me by taking care of so many details in the past for most programming projects...)

Rob


----- Original Message -----
From: Thiago Macieira <thiago.macieira@xxxxxxxxxxxxx>
To: qt4-preview-feedback@xxxxxxxxxxxxx <qt4-preview-feedback@xxxxxxxxxxxxx>
Sent: Wed Feb 27 00:12:00 2008
Subject: Re: Proxy for web browser and Qt Assistant?

rob_lefebvre@xxxxxxxxxxx wrote:
>A couple of things.  First, the top page in my QAssistant tree was about
> Phonon, and that page couldn't come up because it was on the remote
> server.  I since realized that it wasn't ALL pages, but just a few of
> them.

All of Qt's documentation, including Phonon, is supposed to be local to 
your computer. If it tried to show a remote page, we should have to fix 
the documetantation. Can you tell us how exactly to reproduce the 
problem?

>Second, this isn't a change, but it is an inability to use the new
> feature: the new Webkit browser looks really nice, but without
> reasonable handling of proxies, we won't be able to roll it out for our
> customer base.  So, we're stuck spawning internet explorer or Mozilla.

Do you mean the demo browser or QtHelp?

If you meant the demo browser, it's that: a demo. You should not ship it 
to your own clients unmodified :-)

If you meant QtHelp or assistant itself, then it might be indeed a missing 
feature (I haven't checked -- QtHelp developers on this list, please 
correct me). I doubt we will add that in the 4.4.x series if it isn't 
there, though.

-- 
 [ signature omitted ]