Qt-interest Archive, August 2007
Re: no completion of Qt classes
Message 1 in thread
Hi,
A quote from
http://labs.trolltech.com/blogs/2007/07/11/develop-qt-applications-in-eclipse/
"This may happen because the Qt PLugin in the project specific include pathes
list, currently only adds an âQT_DIR/includeâ entry. The next build will add
all the subpathes in order to make sure that the indexer finds everything.
Hope that will help you. Otherwise, please post a report containing details
of your setup to the mailing list."
What worked for me was adding the required external `C/C++ Include Paths' in
the project properties page.
I'm using debian and added
/usr/include
/usr/include/qt4
/usr/include/qt4/Qt
/usr/include/qt4/QtCore
/usr/include/qt4/QtGui
....
regards
On Tuesday 31 July 2007 20:47, lolveley wrote:
> hello,
>
> I am using eclipse CDT europa and Qt4.1.0 on a macintosh.
> I can use externals tools (qmake -project and qmake, build) to compile
> my C++ projects, and it works.
> But I have not the completion, although the libraries are recognized:
> with the example :
>
> #include <QApplication>
> #include <QPushButton>
>
> int main(int argc,char* argv[]){
>
> QApplication app(argc,argv);
> QPushButton* button=new QPushButton("quit");
> QObject::connect (button,SIGNAL(clicked()),&app,SLOT(quit()));
>
>
> button->
>
> if I enter ctrl+space I have :
> app: Qapplication
> argc: int
> argv : char*
> button:*
>
>
> Have you got an idea to make it work?
>
> lolveley.
>
> --
> 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 2 in thread
Stefan Sander a Ãcrit :
> Hi,
>
> A quote from
> http://labs.trolltech.com/blogs/2007/07/11/develop-qt-applications-in-eclipse/
>
> "This may happen because the Qt PLugin in the project specific include pathes
> list, currently only adds an âQT_DIR/includeâ entry. The next build will add
> all the subpathes in order to make sure that the indexer finds everything.
> Hope that will help you. Otherwise, please post a report containing details
> of your setup to the mailing list."
>
> What worked for me was adding the required external `C/C++ Include Paths' in
> the project properties page.
>
> I'm using debian and added
> /usr/include
> /usr/include/qt4
> /usr/include/qt4/Qt
> /usr/include/qt4/QtCore
> /usr/include/qt4/QtGui
> ....
>
>
> regards
>
>
> On Tuesday 31 July 2007 20:47, lolveley wrote:
>
>> hello,
>>
>> I am using eclipse CDT europa and Qt4.1.0 on a macintosh.
>> I can use externals tools (qmake -project and qmake, build) to compile
>> my C++ projects, and it works.
>> But I have not the completion, although the libraries are recognized:
>> with the example :
>>
>> #include <QApplication>
>> #include <QPushButton>
>>
>> int main(int argc,char* argv[]){
>>
>> QApplication app(argc,argv);
>> QPushButton* button=new QPushButton("quit");
>> QObject::connect (button,SIGNAL(clicked()),&app,SLOT(quit()));
>>
>>
>> button->
>>
>> if I enter ctrl+space I have :
>> app: Qapplication
>> argc: int
>> argv : char*
>> button:*
>>
>>
>> Have you got an idea to make it work?
>>
>> lolveley.
>>
>> --
>> 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/
>>
>
>
I love you!
It works!
thank you!
lolveley.
Message 3 in thread
Hi,
I'm having the same problem with XCode 2.4 on Mac OS X. I've added the
include directories for Qt to the Header Search Path, but still no luck.
Has anybody got codesense working with Qt classes with XCode 2.4?
Thanks a bunch,
-Andrew
lolveley wrote:
> Stefan Sander a Ãcrit :
>> Hi,
>>
>> A quote from
>> http://labs.trolltech.com/blogs/2007/07/11/develop-qt-applications-in-eclipse/
>>
>> "This may happen because the Qt PLugin in the project specific include pathes
>> list, currently only adds an âQT_DIR/includeâ entry. The next build will add
>> all the subpathes in order to make sure that the indexer finds everything.
>> Hope that will help you. Otherwise, please post a report containing details
>> of your setup to the mailing list."
>>
>> What worked for me was adding the required external `C/C++ Include Paths' in
>> the project properties page.
>>
>> I'm using debian and added
>> /usr/include
>> /usr/include/qt4
>> /usr/include/qt4/Qt
>> /usr/include/qt4/QtCore
>> /usr/include/qt4/QtGui
>> ....
>>
>>
>> regards
>>
>>
>> On Tuesday 31 July 2007 20:47, lolveley wrote:
>>
>>> hello,
>>>
>>> I am using eclipse CDT europa and Qt4.1.0 on a macintosh.
>>> I can use externals tools (qmake -project and qmake, build) to compile
>>> my C++ projects, and it works.
>>> But I have not the completion, although the libraries are recognized:
>>> with the example :
>>>
>>> #include <QApplication>
>>> #include <QPushButton>
>>>
>>> int main(int argc,char* argv[]){
>>>
>>> QApplication app(argc,argv);
>>> QPushButton* button=new QPushButton("quit");
>>> QObject::connect (button,SIGNAL(clicked()),&app,SLOT(quit()));
>>>
>>>
>>> button->
>>>
>>> if I enter ctrl+space I have :
>>> app: Qapplication
>>> argc: int
>>> argv : char*
>>> button:*
>>>
>>>
>>> Have you got an idea to make it work?
>>>
>>> lolveley.
>>>
>>> --
>>> 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/
>>>
>>
>>
> I love you!
> It works!
>
> thank you!
>
> lolveley.
--
[ signature omitted ]