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

Qt4-preview-feedback Archive, July 2007
Qt C++ Eclipse Integration rc1 : a few more little issues


Message 1 in thread

Hi,

Here are another couple of little issues I've encountered with the Qt C++ Eclipse Integration :

- when you add a new class or add files to the project in Eclipse, there's a dialog popping up to confirm the addition of the new files to the .pro file. However even when confirming the changes, the .pro file is not updated until you open it with the visual editor and save it then (the .pro file shows up as dirty when opening it). Opening it with a text editor doesn't show the changes at all.

- The include paths defined for a Qt project only include the QTDIR/include directory, whereas qmake actually uses in addition QTDIR/include/{QtCore,QtGui, etc.}. As the latter ones are missing in the Eclipse project, the indexer can't parse include statements like "#include <QPushButton>" properly, and auto-completion is greatly reduced.

- when using the embedded Designer, the Designer toolbar is sometimes disabled although the widgets on the window have the focus. The window itself has to be clicked to enable the toolbar. Looks more like a Eclipse issue with editors focus though, but maybe this can be tweaked.

- It would be nice to add a Qt Designer perspective when installing the plugin. The perspective would show all the designer views and toolbars in the same layout as the standalone designer. I've done that manually now, but I know this can be done automatically.

- No resource editor in the embedded Designer ??

And finally a general question : is the Eclipse Integration compatible with the recently released CDT 4.0 ? If not yet, will they be compatible eventually or will you need to maintain two separate packages ?

Thanks,

Romain Pokrzywka 
Software Engineer, Qt Consultant, Qt Trainer
KDAB - KlarÃlvdalens Datakonsult AB
http://www.kdab.com

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


Message 2 in thread

Hi Romain,

I will go through the issues that you posted, today, but the CDT 4.0 question one can be answered, immediately. The QT Eclipse Integration works well (seems to work well, so far) with CDT 4.0. Actually, we did not need to adjust anything for making that happen.

There is only an issue in the Qt Eclipse Integration "Feature": The CDT version requirement there is by fault set in a way that Eclipse is forbidden to update to CDT 4.0 after the Qt Eclipse integration was installed.
The current easy solution is to delete the folder "features/com.trolltech.qtcpp.feature_0.9.0" which is located next to the plugins folder, usually under the eclipse folder. Then Updating to CDT 4 is not blocked, anymore.
This will of course be fixed in the release.

Thanks,
Alessandro

Romain Pokrzywka schrieb:
> Hi,
> ...
> And finally a general question : is the Eclipse Integration compatible with the recently released CDT 4.0 ? If not yet, will they be compatible eventually or will you need to maintain two separate packages ?

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


Message 3 in thread

Hi Romain,

> - when you add a new class or add files to the project in Eclipse, there's a dialog popping up to confirm the addition of the new files to the .pro file. However even when confirming the changes, the .pro file is not updated until you open it with the visual editor and save it then (the .pro file shows up as dirty when opening it). Opening it with a text editor doesn't show the changes at all.
>   
This is already fixed for the final release.

> - The include paths defined for a Qt project only include the QTDIR/include directory, whereas qmake actually uses in addition QTDIR/include/{QtCore,QtGui, etc.}. As the latter ones are missing in the Eclipse project, the indexer can't parse include statements like "#include <QPushButton>" properly, and auto-completion is greatly reduced.
>   
Also fixed.

> - when using the embedded Designer, the Designer toolbar is sometimes disabled although the widgets on the window have the focus. The window itself has to be clicked to enable the toolbar. Looks more like a Eclipse issue with editors focus though, but maybe this can be tweaked.
>   
Fixed as well.

> - It would be nice to add a Qt Designer perspective when installing the plugin. The perspective would show all the designer views and toolbars in the same layout as the standalone designer. I've done that manually now, but I know this can be done automatically.
>   
We are considering it for a future release, but it won't happen for 1.0.

> - No resource editor in the embedded Designer ??
>   
No, that's on purpose. Designer is an editor for .ui files but not for 
.qrc files. For editing .qrc files in Eclipse you should use the qrc 
editor, similar to the one in Visual Studio.

> And finally a general question : is the Eclipse Integration compatible with the recently released CDT 4.0 ? If not yet, will they be compatible eventually or will you need to maintain two separate packages ?
>   
It is fully compatible with CDT 4.0.


Thanks for your feedback,

Thomas

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