Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, December 2007
Browse Qt sources within Visual C++ Express Edition


Message 1 in thread

Hi,

Does anybody know how to configure a generated Visual C++ Express Edition
project to be able to go to the declaration/definition of any Qt internal
method.

For instance, right-click on the connectToHost reference of a QTcpSocket,
select "Go To Definition" to go to the source code of the method
QTcpSocket::connectToHost(...).

I was used to do so with F3 within Eclipse CDT 4...

Thanks,
Christophe

Message 2 in thread

Christophe wrote:
> Does anybody know how to configure a generated Visual C++ 
> Express Edition project to be able to go to the 
> declaration/definition of any Qt internal method.
> 
> For instance, right-click on the connectToHost reference of a 
> QTcpSocket, select "Go To Definition" to go to the source 
> code of the method QTcpSocket::connectToHost(...). 

This really is OT for this list. Anyways,
Tools->Options->Environment->Keyboard, search for "definition". My Key
for this is F12. (not using Express here, but should be the same for
that edition)

Cheers,
Peter

--
 [ signature omitted ] 

Message 3 in thread

Sorry Peter, I don't understand what "OT" means. Moreover, I don't want to
change the keystroke, I just want to get the feature ;o)

2007/12/13, Peter Prade <prade@xxxxxxxxxxx>:
>
> Christophe wrote:
> > Does anybody know how to configure a generated Visual C++
> > Express Edition project to be able to go to the
> > declaration/definition of any Qt internal method.
> >
> > For instance, right-click on the connectToHost reference of a
> > QTcpSocket, select "Go To Definition" to go to the source
> > code of the method QTcpSocket::connectToHost(...).
>
> This really is OT for this list. Anyways,
> Tools->Options->Environment->Keyboard, search for "definition". My Key
> for this is F12. (not using Express here, but should be the same for
> that edition)
>
> Cheers,
> Peter
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

Message 4 in thread

OT means off-topic. This list is about Qt, and your question is clearly unrelated to Qt.

And yeah seems i misunderstood you - "I was used to do so with F3 within Eclipse CDT 4..." was misleading me ;)

Cheers,
Peter 

> -----Ursprüngliche Nachricht-----
> Von: Christophe Bismuth [mailto:christophe.bismuth@xxxxxxxxx] 
> Gesendet: Donnerstag, 13. Dezember 2007 15:48
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: Re: [OT] Browse Qt sources within Visual C++ Express Edition
> 
> Sorry Peter, I don't understand what "OT" means. Moreover, I 
> don't want to change the keystroke, I just want to get the feature ;o)
> 
> 
> 2007/12/13, Peter Prade < prade@xxxxxxxxxxx 
> <mailto:prade@xxxxxxxxxxx> >:
> 
> 	Christophe wrote:
> 	> Does anybody know how to configure a generated Visual C++ 
> 	> Express Edition project to be able to go to the
> 	> declaration/definition of any Qt internal method.
> 	>
> 	> For instance, right-click on the connectToHost reference of a
> 	> QTcpSocket, select "Go To Definition" to go to the source 
> 	> code of the method QTcpSocket::connectToHost(...).
> 	
> 	This really is OT for this list. Anyways,
> 	Tools->Options->Environment->Keyboard, search for 
> "definition". My Key
> 	for this is F12. (not using Express here, but should be 
> the same for 
> 	that edition)
> 	
> 	Cheers,
> 	Peter
> 	
> 	--
> 	To unsubscribe - send a mail to 
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the 
> subject or the body. 
> 	List archive and information: 
> http://lists.trolltech.com/qt-interest/
> 	
> 	
> 
> 
> 

--
 [ signature omitted ] 

Message 5 in thread

He wants to find Qt definitions! It certainly is related to developing Qt
applications.

Keith
**Please do not reply to me, reply to the list.**

On 12-13-2007 10:00 AM, "Peter Prade" wrote:

> OT means off-topic. This list is about Qt, and your question is clearly
> unrelated to Qt.
> 
> And yeah seems i misunderstood you - "I was used to do so with F3 within
> Eclipse CDT 4..." was misleading me ;)
> 
> Cheers,
> Peter 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Christophe Bismuth [mailto:christophe.bismuth@xxxxxxxxx]
>> Gesendet: Donnerstag, 13. Dezember 2007 15:48
>> An: qt-interest@xxxxxxxxxxxxx
>> Betreff: Re: [OT] Browse Qt sources within Visual C++ Express Edition
>> 
>> Sorry Peter, I don't understand what "OT" means. Moreover, I
>> don't want to change the keystroke, I just want to get the feature ;o)
>> 
>> 
>> 2007/12/13, Peter Prade < prade@xxxxxxxxxxx
>> <mailto:prade@xxxxxxxxxxx> >:
>> 
>> Christophe wrote:
>>> Does anybody know how to configure a generated Visual C++
>>> Express Edition project to be able to go to the
>>> declaration/definition of any Qt internal method.
>>> 
>>> For instance, right-click on the connectToHost reference of a
>>> QTcpSocket, select "Go To Definition" to go to the source
>>> code of the method QTcpSocket::connectToHost(...).
>> 
>> This really is OT for this list. Anyways,
>> Tools->Options->Environment->Keyboard, search for
>> "definition". My Key
>> for this is F12. (not using Express here, but should be
>> the same for 
>> that edition)
>> 
>> Cheers,
>> Peter
>> 


--
 [ signature omitted ] 

Message 6 in thread

On torsdag den 13. December 2007, Christophe Bismuth wrote:
> Hi,
>
> Does anybody know how to configure a generated Visual C++ Express Edition
> project to be able to go to the declaration/definition of any Qt internal
> method.
>
> For instance, right-click on the connectToHost reference of a QTcpSocket,
> select "Go To Definition" to go to the source code of the method
> QTcpSocket::connectToHost(...).

I haven't tried this, but it might well be the correct way: Open the options 
dialog (tools->options) and go to Projects and Solutions->VC++ Directories. 
In the Show directories for combobox, there is one that is named source 
files, and the help text says "Path to use when searching for source files to 
use for Intellisense". Sounds like you should add Qt dirs to this one.

Bo.

-- 
 [ signature omitted ] 

Message 7 in thread

Thank you Bo, I didn't seen this element in the list, I'll have a look
again.

Thanks,
Christophe

2007/12/13, Bo Thorsen <bo@xxxxxxxxxxxxxxxxxxxxx>:
>
> On torsdag den 13. December 2007, Christophe Bismuth wrote:
> > Hi,
> >
> > Does anybody know how to configure a generated Visual C++ Express
> Edition
> > project to be able to go to the declaration/definition of any Qt
> internal
> > method.
> >
> > For instance, right-click on the connectToHost reference of a
> QTcpSocket,
> > select "Go To Definition" to go to the source code of the method
> > QTcpSocket::connectToHost(...).
>
> I haven't tried this, but it might well be the correct way: Open the
> options
> dialog (tools->options) and go to Projects and Solutions->VC++
> Directories.
> In the Show directories for combobox, there is one that is named source
> files, and the help text says "Path to use when searching for source files
> to
> use for Intellisense". Sounds like you should add Qt dirs to this one.
>
> Bo.
>
> --
>
> Thorsen Consulting ApS - Qt consulting services
> http://www.thorsen-consulting.dk
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

Message 8 in thread

Your solution sounds good, but unfortunately this option isn't available in
Visual C++ 2005 Express Edition... see my attachment.

Thanks,
Christophe

2007/12/13, Bo Thorsen <bo@xxxxxxxxxxxxxxxxxxxxx>:
>
> On torsdag den 13. December 2007, Christophe Bismuth wrote:
> > Hi,
> >
> > Does anybody know how to configure a generated Visual C++ Express
> Edition
> > project to be able to go to the declaration/definition of any Qt
> internal
> > method.
> >
> > For instance, right-click on the connectToHost reference of a
> QTcpSocket,
> > select "Go To Definition" to go to the source code of the method
> > QTcpSocket::connectToHost(...).
>
> I haven't tried this, but it might well be the correct way: Open the
> options
> dialog (tools->options) and go to Projects and Solutions->VC++
> Directories.
> In the Show directories for combobox, there is one that is named source
> files, and the help text says "Path to use when searching for source files
> to
> use for Intellisense". Sounds like you should add Qt dirs to this one.
>
> Bo.
>
> --
>
> Thorsen Consulting ApS - Qt consulting services
> http://www.thorsen-consulting.dk
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

Attachment:

Attachment: Options.JPG
Description: JPEG image


Message 9 in thread

I can see the "Source Files" entry in the dropdown on that screenshot...

2007/12/13, Christophe Bismuth <christophe.bismuth@xxxxxxxxx>:
> Your solution sounds good, but unfortunately this option isn't available in
> Visual C++ 2005 Express Edition... see my attachment.
>
> Thanks,
> Christophe
>
> 2007/12/13, Bo Thorsen < bo@xxxxxxxxxxxxxxxxxxxxx>:
> > On torsdag den 13. December 2007, Christophe Bismuth wrote:
> > > Hi,
> > >
> > > Does anybody know how to configure a generated Visual C++ Express
> Edition
> > > project to be able to go to the declaration/definition of any Qt
> internal
> > > method.
> > >
> > > For instance, right-click on the connectToHost reference of a
> QTcpSocket,
> > > select "Go To Definition" to go to the source code of the method
> > > QTcpSocket::connectToHost(...).
> >
> > I haven't tried this, but it might well be the correct way: Open the
> options
> > dialog (tools->options) and go to Projects and Solutions->VC++
> Directories.
> > In the Show directories for combobox, there is one that is named source
> > files, and the help text says "Path to use when searching for source files
> to
> > use for Intellisense". Sounds like you should add Qt dirs to this one.
> >
> > Bo.
> >
> > --
> >
> > Thorsen Consulting ApS - Qt consulting services
> > http://www.thorsen-consulting.dk
> >
> > --
> > To unsubscribe - send a mail to
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the
> subject or the body.
> > List archive and information:
> http://lists.trolltech.com/qt-interest/
> >
> >
>
>
>

--
 [ signature omitted ] 

Message 10 in thread

Yes, there's "Source Files" and I tried this before my first post, but it
didn't led me to Qt sources... I'm not sure it's related to IntelliSense...
this is strange. Maybe it could work if I delete & rebuild the IntelliSense
DB. I'll try this today ;o)

Thank you all,
Christophe

PS: No problem Peter ;o)

2007/12/13, Thomas DÃhling <t.daehling@xxxxxxxxxxxxxx>:
>
> I can see the "Source Files" entry in the dropdown on that screenshot...
>
> 2007/12/13, Christophe Bismuth <christophe.bismuth@xxxxxxxxx>:
> > Your solution sounds good, but unfortunately this option isn't available
> in
> > Visual C++ 2005 Express Edition... see my attachment.
> >
> > Thanks,
> > Christophe
> >
> > 2007/12/13, Bo Thorsen < bo@xxxxxxxxxxxxxxxxxxxxx>:
> > > On torsdag den 13. December 2007, Christophe Bismuth wrote:
> > > > Hi,
> > > >
> > > > Does anybody know how to configure a generated Visual C++ Express
> > Edition
> > > > project to be able to go to the declaration/definition of any Qt
> > internal
> > > > method.
> > > >
> > > > For instance, right-click on the connectToHost reference of a
> > QTcpSocket,
> > > > select "Go To Definition" to go to the source code of the method
> > > > QTcpSocket::connectToHost(...).
> > >
> > > I haven't tried this, but it might well be the correct way: Open the
> > options
> > > dialog (tools->options) and go to Projects and Solutions->VC++
> > Directories.
> > > In the Show directories for combobox, there is one that is named
> source
> > > files, and the help text says "Path to use when searching for source
> files
> > to
> > > use for Intellisense". Sounds like you should add Qt dirs to this one.
> > >
> > > Bo.
> > >
> > > --
> > >
> > > Thorsen Consulting ApS - Qt consulting services
> > > http://www.thorsen-consulting.dk
> > >
> > > --
> > > To unsubscribe - send a mail to
> > qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the
> > subject or the body.
> > > List archive and information:
> > http://lists.trolltech.com/qt-interest/
> > >
> > >
> >
> >
> >
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>