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

Qt4-preview-feedback Archive, August 2007
Problem with Eclipse Integration RC1 - Eclipse 3.3.0/CDT 4.0


Message 1 in thread

Eclipse Version 3.3.0
CDT Version 4.0
Qt Version 4.3.0 Open Source
Qt Eclipse Integration version RC1
OS - Windows XP

When I install the RC1 on to an existing Eclipse Europa installation
with the latest CDT, all is fine the first time I run Eclipse.

When I shut down Eclipse and restart it, the workspace setting appears
to have been corrupted, and the "Debug As", "Profile As" and "Run As"
context menu items no longer have little arrows on them and, when
clicked, notify me that "The chosen operation is not currently
available.".

In addition, when I go to "Help" -> "Software Updates" -> "Manage
Configuration" and expand the tree I see that "Qt Eclipse integration
0.9.0" is showing errors. Clicking on that item and selecting "Show
properties" then "Status" says "The feature is not configured properly"
with reason:

============
Plug-in "com.trolltech.qtcppdesigner" version "0.0.0" referenced by this
feature is missing.

Plug-in "com.trolltech.qtcpp" version "0.0.0" referenced by this feature
is missing.

Plug-in "com.trolltech.qtcppdesigner.qtcpp" version "0.0.0" referenced
by this feature is missing.

Plug-in "com.trolltech.qtcppintegrationhelp" version "0.0.0" referenced
by this feature is missing.

Plug-in "com.trolltech.qtcppproject" version "0.0.0" referenced by this
feature is missing.

Plug-in "com.trolltech.qtcppstartup" version "0.0.0" referenced by this
feature is missing.
============

A trawl through the Eclipse plugins folder shows none of the above
exist.

Uninstalling Qt Eclipse Integration from "Control Panel" -> "Add/Remove
Programs" reverts Eclipse to a sensible working state.


Apart from that, it all seems to be very useful.

John

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


Message 2 in thread

Thank you for the report

Does the Qt Eclipse integration work as expected, with Qt Designer, etc., the first time you run Eclipse? If not, it seems that the installation goes completely wrong. I understand that you had no com.trolltech.* files or folders in your eclipse plugins folder.

Could you reinstall the Plugin and in the "Installing" step of the Installer, press "Show Details", right click on the list and copy paste the contents into a mail? I hope that this will help to identify what goes wrong in your case.

Thanks,
Alessandro

McCabe, John (UK) schrieb:
> Eclipse Version 3.3.0
> CDT Version 4.0
> Qt Version 4.3.0 Open Source
> Qt Eclipse Integration version RC1
> OS - Windows XP
> 
> When I install the RC1 on to an existing Eclipse Europa installation
> with the latest CDT, all is fine the first time I run Eclipse.
> 
> When I shut down Eclipse and restart it, the workspace setting appears
> to have been corrupted, and the "Debug As", "Profile As" and "Run As"
> context menu items no longer have little arrows on them and, when
> clicked, notify me that "The chosen operation is not currently
> available.".
> 
> In addition, when I go to "Help" -> "Software Updates" -> "Manage
> Configuration" and expand the tree I see that "Qt Eclipse integration
> 0.9.0" is showing errors. Clicking on that item and selecting "Show
> properties" then "Status" says "The feature is not configured properly"
> with reason:
> 
> ============
> Plug-in "com.trolltech.qtcppdesigner" version "0.0.0" referenced by this
> feature is missing.
> 
> Plug-in "com.trolltech.qtcpp" version "0.0.0" referenced by this feature
> is missing.
> 
> Plug-in "com.trolltech.qtcppdesigner.qtcpp" version "0.0.0" referenced
> by this feature is missing.
> 
> Plug-in "com.trolltech.qtcppintegrationhelp" version "0.0.0" referenced
> by this feature is missing.
> 
> Plug-in "com.trolltech.qtcppproject" version "0.0.0" referenced by this
> feature is missing.
> 
> Plug-in "com.trolltech.qtcppstartup" version "0.0.0" referenced by this
> feature is missing.
> ============
> 
> A trawl through the Eclipse plugins folder shows none of the above
> exist.
> 
> Uninstalling Qt Eclipse Integration from "Control Panel" -> "Add/Remove
> Programs" reverts Eclipse to a sensible working state.
> 
> 
> Apart from that, it all seems to be very useful.
> 
> John

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


Message 3 in thread

> Thank you for the report

You're welcome
 
> Does the Qt Eclipse integration work as expected, with Qt 
> Designer, etc., the first time you run Eclipse?

Yes, it is fine the first time. It is only after closing and restarting
that the menu items I mentioned no longer work. Even on the second and
subsequent times however the Qt Integration (i.e. designer etc) work
fine.

> If not, it 
> seems that the installation goes completely wrong. I 
> understand that you had no com.trolltech.* files or folders 
> in your eclipse plugins folder.

Sorry for the confusion on that bit, but I had two com.trolltech.*
folders that didn't match the list of missing plugins. I actually do
have all the jar files though but, as you would expect, they are version
0.9.0. I think one of the problems may be that
c:\eclipse\features\com.trolltech.qtcpp.feature_0.9.0\feature.xml
contains the following:

===============
 <?xml version="1.0" encoding="UTF-8" ?> 
- <feature id="com.trolltech.qtcpp.feature" label="Qt Eclipse
integration" version="0.9.0" provider-name="Trolltech ASA"
plugin="com.trolltech.qtcpp" os="linux,win32" arch="x86,x86_64">
  <description
url="http://trolltech.com/company/tt/contents/issue3/eclipse-integration
">The Qt integration is built on top of the CDT plugin which introduces
C/C++ development functionality to Eclipse. The CDT offers a complete
C++ code editor with syntax highlighting and code completion as well as
a very sophisticated debugger integration based on gdb. With its general
makefile generator it supports virtually all compilers to build C/C++
applications. On top of those basic C++ development features, the Qt
Eclipse integration adds special functionality for handling Qt projects
and ensuring a successful build process.</description> 
  <copyright
url="http://trolltech.com/company/copyright";>Trolltech(r)</copyright> 
  <license url="license.html">Trolltech, along with companies like My
SQL and Sleepycat, uses a business model for its desktop developer tools
unit called Dual Licensing. The Dual Licensing business model allows
software companies to provide their products for two distinct uses -
commercial and open source software development.</license> 
- <requires>
  <import plugin="org.eclipse.ui.ide" /> 
  <import plugin="org.eclipse.ui.views" /> 
  <import plugin="org.eclipse.ui.views.properties.tabbed" /> 
  <import plugin="org.eclipse.ui.editors" /> 
  <import plugin="org.eclipse.ui.workbench.texteditor" /> 
  <import plugin="org.eclipse.core.resources" /> 
  <import plugin="org.eclipse.core.runtime" /> 
  <import plugin="org.eclipse.ui" /> 
  <import feature="org.eclipse.cdt" version="3.1.2" match="compatible"
/> 
  <import plugin="org.eclipse.help" /> 
  <import plugin="org.eclipse.core.runtime.compatibility" /> 
  <import plugin="org.eclipse.core.runtime" version="2.1.0"
match="greaterOrEqual" /> 
  <import plugin="org.eclipse.ui.cheatsheets" /> 
  <import plugin="org.eclipse.debug.core" /> 
  <import plugin="org.eclipse.cdt.make.core" /> 
  <import plugin="org.eclipse.cdt.core" /> 
  <import plugin="org.eclipse.ui.forms" /> 
  <import plugin="org.eclipse.cdt.ui" /> 
  <import plugin="org.eclipse.cdt.launch" /> 
  <import plugin="org.eclipse.cdt.debug.core" /> 
  <import plugin="org.eclipse.cdt.debug.mi.core" /> 
  <import plugin="org.eclipse.jface.text" /> 
  </requires>
  <plugin id="com.trolltech.qtcppdesigner" download-size="0"
install-size="0" version="0.0.0" unpack="false" /> 
  <plugin id="com.trolltech.qtcpp" download-size="0" install-size="0"
version="0.0.0" /> 
  <plugin id="com.trolltech.qtcpp.linux.x86" os="linux" ws="gtk"
arch="x86,x86_64" download-size="0" install-size="0" version="0.0.0"
fragment="true" unpack="false" /> 
  <plugin id="com.trolltech.qtcppdesigner.linux.x86" os="linux" ws="gtk"
arch="x86,x86_64" download-size="0" install-size="0" version="0.0.0"
fragment="true" unpack="false" /> 
  <plugin id="com.trolltech.qtcppdesigner.qtcpp" download-size="0"
install-size="0" version="0.0.0" fragment="true" /> 
  <plugin id="com.trolltech.qtcppintegrationhelp" download-size="0"
install-size="0" version="0.0.0" /> 
  <plugin id="com.trolltech.qtcppproject" download-size="0"
install-size="0" version="0.0.0" /> 
  <plugin id="com.trolltech.qtcppproject.linux.x86" os="linux" ws="gtk"
arch="x86,x86_64" download-size="0" install-size="0" version="0.0.0"
fragment="true" unpack="false" /> 
  <plugin id="com.trolltech.qtcppstartup" download-size="0"
install-size="0" version="0.0.0" /> 
===============

Note that the versions listed are all 0.0.0, I think they should be
0.9.0. Changing them all to 0.9.0 removes the problem with the "Help" ->
"Software Updates" -> "Manage Configuration" showing errors with the
plugin, but the problem with the "Run As", "Profile As" and "Debug As"
menu items, and starting with the wrong workspace remains.

> Could you reinstall the Plugin and in the "Installing" step 
> of the Installer, press "Show Details", right click on the 
> list and copy paste the contents into a mail? I hope that 
> this will help to identify what goes wrong in your case.

Ok - here you are...

Create folder: C:\Documents and Settings\All Users\Start
Menu\Programs\Qt Eclipse Integration v0.9.0
Output folder: C:\Eclipse\plugins
Extract: com.trolltech.qtcpp_0.9.0.jar... 100%
Extract: com.trolltech.qtcppstartup_0.9.0.jar... 100%
Extract: com.trolltech.qtcppproject_0.9.0.jar... 100%
Output folder: C:\Eclipse\features\com.trolltech.qtcpp.feature_0.9.0
Extract: corporate.gif
Extract: feature.xml... 100%
Extract: license.html... 100%
Output folder: C:\Program Files\Trolltech\Eclipse
Extract: msvcp71.dll... 100%
Extract: msvcr71.dll... 100%
Extract: QtCore4.dll... 100%
Extract: QtGui4.dll... 100%
Extract: QtXml4.dll... 100%
Output folder: C:\Program Files\Trolltech\Eclipse
Extract: qtcppproparser.dll... 100%
Extract: qtcppqrceditor.dll... 100%
Registering C:\Program Files\Trolltech\Eclipse\qtcppproparser.dll...
Registering of C:\Program Files\Trolltech\Eclipse\qtcppproparser.dll
succeeded!
Registering C:\Program Files\Trolltech\Eclipse\qtcppqrceditor.dll...
Registering of C:\Program Files\Trolltech\Eclipse\qtcppqrceditor.dll
succeeded!
Create shortcut: C:\Documents and Settings\All Users\Start
Menu\Programs\Qt Eclipse Integration v0.9.0\License.lnk
Create shortcut: C:\Documents and Settings\All Users\Start
Menu\Programs\Qt Eclipse Integration v0.9.0\Start Eclipse with MinGW.lnk
Output folder: C:\Eclipse\plugins
Extract: com.trolltech.qtcppdesigner_0.9.0.jar... 100%
Extract: com.trolltech.qtcppdesigner.qtcpp_0.9.0.jar... 100%
Output folder:
C:\Eclipse\plugins\com.trolltech.qtcppdesignerplugins.win32.x86_0.9.0
Extract: qt3supportwidgets.dll... 100%
Extract: Qt3Support4.dll... 100%
Extract: QtSql4.dll... 100%
Extract: QtNetwork4.dll... 100%
Output folder:
C:\Eclipse\plugins\com.trolltech.qtcppdesignerplugins.win32.x86_0.9.0\ME
TA-INF
Extract: MANIFEST.MF... 100%
Output folder: C:\Program Files\Trolltech\Eclipse
Skipped: msvcp71.dll
Skipped: msvcr71.dll
Skipped: QtCore4.dll
Skipped: QtGui4.dll
Skipped: QtXml4.dll
Output folder: C:\Program Files\Trolltech\Eclipse
Extract: QtDesigner4.dll... 100%
Extract: QtScript4.dll... 100%
Extract: QtDesignerComponents4.dll... 100%
Extract: qtcppdesigner.dll... 100%
Registering C:\Program Files\Trolltech\Eclipse\qtcppdesigner.dll...
Registering of C:\Program Files\Trolltech\Eclipse\qtcppdesigner.dll
succeeded!
Output folder: C:\Eclipse\plugins
Extract: com.trolltech.qtcppintegrationhelp_0.9.0.jar... 100%
Output folder:
C:\Eclipse\plugins\com.trolltech.qtcpp.example\AddressBook
Extract: adddialog.cpp... 100%
Extract: adddialog.h... 100%
Extract: adddialog.ui... 100%
Extract: addressbook.cpp... 100%
Extract: addressbook.h... 100%
Extract: AddressBook.pro... 100%
Extract: addressbook.ui... 100%
Extract: main.cpp... 100%
Created uninstaller: C:\Program Files\Trolltech\Eclipse\uninst.exe
Create shortcut: C:\Documents and Settings\All Users\Start
Menu\Programs\Qt Eclipse Integration v0.9.0\Trolltech.com.lnk
Create shortcut: C:\Documents and Settings\All Users\Start
Menu\Programs\Qt Eclipse Integration v0.9.0\Uninstall Qt Eclipse
Integration 0.9.0.lnk
Output folder: C:\Program Files\Trolltech\Eclipse
Completed





> McCabe, John (UK) schrieb:
> > Eclipse Version 3.3.0
> > CDT Version 4.0
> > Qt Version 4.3.0 Open Source
> > Qt Eclipse Integration version RC1
> > OS - Windows XP
> > 
> > When I install the RC1 on to an existing Eclipse Europa 
> installation 
> > with the latest CDT, all is fine the first time I run Eclipse.
> > 
> > When I shut down Eclipse and restart it, the workspace 
> setting appears 
> > to have been corrupted, and the "Debug As", "Profile As" 
> and "Run As"
> > context menu items no longer have little arrows on them and, when 
> > clicked, notify me that "The chosen operation is not currently 
> > available.".
> > 
> > In addition, when I go to "Help" -> "Software Updates" -> "Manage 
> > Configuration" and expand the tree I see that "Qt Eclipse 
> integration 
> > 0.9.0" is showing errors. Clicking on that item and selecting "Show 
> > properties" then "Status" says "The feature is not 
> configured properly"
> > with reason:
> > 
> > ============
> > Plug-in "com.trolltech.qtcppdesigner" version "0.0.0" referenced by 
> > this feature is missing.
> > 
> > Plug-in "com.trolltech.qtcpp" version "0.0.0" referenced by this 
> > feature is missing.
> > 
> > Plug-in "com.trolltech.qtcppdesigner.qtcpp" version "0.0.0" 
> referenced 
> > by this feature is missing.
> > 
> > Plug-in "com.trolltech.qtcppintegrationhelp" version "0.0.0" 
> > referenced by this feature is missing.
> > 
> > Plug-in "com.trolltech.qtcppproject" version "0.0.0" referenced by 
> > this feature is missing.
> > 
> > Plug-in "com.trolltech.qtcppstartup" version "0.0.0" referenced by 
> > this feature is missing.
> > ============
> > 
> > A trawl through the Eclipse plugins folder shows none of the above 
> > exist.
> > 
> > Uninstalling Qt Eclipse Integration from "Control Panel" -> 
> > "Add/Remove Programs" reverts Eclipse to a sensible working state.
> > 
> > 
> > Apart from that, it all seems to be very useful.
> > 
> > John
> 

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


Message 4 in thread

Hello John,

I have the same problem with exactly the same configuration. (Eclipse 
3.3.0, C.D.T. 4.0.0, Eclipse Integration RC1, QT 4.3.0 and windows XP)

The way to bypass the problem is to give the -data"directory of the 
workspace" parameter when you're launching Eclipse

My command line looks like this :
c:\eclipse\eclipse.exe -data "d:\Programmation\MesProgrammes"

Sébastien

McCabe, John (UK) a écrit :
> Eclipse Version 3.3.0
> CDT Version 4.0
> Qt Version 4.3.0 Open Source
> Qt Eclipse Integration version RC1
> OS - Windows XP
>
> When I install the RC1 on to an existing Eclipse Europa installation
> with the latest CDT, all is fine the first time I run Eclipse.
>
> When I shut down Eclipse and restart it, the workspace setting appears
> to have been corrupted, and the "Debug As", "Profile As" and "Run As"
> context menu items no longer have little arrows on them and, when
> clicked, notify me that "The chosen operation is not currently
> available.".
>
> In addition, when I go to "Help" -> "Software Updates" -> "Manage
> Configuration" and expand the tree I see that "Qt Eclipse integration
> 0.9.0" is showing errors. Clicking on that item and selecting "Show
> properties" then "Status" says "The feature is not configured properly"
> with reason:
>
> ============
> Plug-in "com.trolltech.qtcppdesigner" version "0.0.0" referenced by this
> feature is missing.
>
> Plug-in "com.trolltech.qtcpp" version "0.0.0" referenced by this feature
> is missing.
>
> Plug-in "com.trolltech.qtcppdesigner.qtcpp" version "0.0.0" referenced
> by this feature is missing.
>
> Plug-in "com.trolltech.qtcppintegrationhelp" version "0.0.0" referenced
> by this feature is missing.
>
> Plug-in "com.trolltech.qtcppproject" version "0.0.0" referenced by this
> feature is missing.
>
> Plug-in "com.trolltech.qtcppstartup" version "0.0.0" referenced by this
> feature is missing.
> ============
>
> A trawl through the Eclipse plugins folder shows none of the above
> exist.
>
> Uninstalling Qt Eclipse Integration from "Control Panel" -> "Add/Remove
> Programs" reverts Eclipse to a sensible working state.
>
>
> Apart from that, it all seems to be very useful.
>
> John
>
> To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
>
>
>
>   

-- 
 [ signature omitted ] 

Message 5 in thread

Sébastien

> I have the same problem with exactly the same configuration. 
> (Eclipse 3.3.0, C.D.T. 4.0.0, Eclipse Integration RC1, QT 
> 4.3.0 and windows XP)
 
> The way to bypass the problem is to give the -data"directory 
> of the workspace" parameter when you're launching Eclipse
 
> My command line looks like this : 
> c:\eclipse\eclipse.exe -data "d:\Programmation\MesProgrammes"

Thank you for that suggestion. It certainly helps to get the correct workspace open, although it should be unnecessary and it is only after the Qt Eclipse Integration plugin is installed that this is a problem in my case.

One other thing I've just tried is adding the "-clean" option to my command line, and that sorts out the other problem with the menus.

Both problems however are related to the installation of the Qt Eclipse Integration plugin in that, if I remove the plugin, the problem disappears.

The problem with plugin jar versions seems trivial and doesn't actually seem to affect much of the operation of the plugin. However I shouldn't _need_ to use -clean and -data.

Thanks again
John




> McCabe, John (UK) a écrit : 
> 
> 	Eclipse Version 3.3.0
> 	CDT Version 4.0
> 	Qt Version 4.3.0 Open Source
> 	Qt Eclipse Integration version RC1
> 	OS - Windows XP
> 	
> 	When I install the RC1 on to an existing Eclipse Europa 
> installation
> 	with the latest CDT, all is fine the first time I run Eclipse.
> 	
> 	When I shut down Eclipse and restart it, the workspace 
> setting appears
> 	to have been corrupted, and the "Debug As", "Profile 
> As" and "Run As"
> 	context menu items no longer have little arrows on them 
> and, when
> 	clicked, notify me that "The chosen operation is not currently
> 	available.".
> 	
> 	In addition, when I go to "Help" -> "Software Updates" 
> -> "Manage
> 	Configuration" and expand the tree I see that "Qt 
> Eclipse integration
> 	0.9.0" is showing errors. Clicking on that item and 
> selecting "Show
> 	properties" then "Status" says "The feature is not 
> configured properly"
> 	with reason:
> 	
> 	============
> 	Plug-in "com.trolltech.qtcppdesigner" version "0.0.0" 
> referenced by this
> 	feature is missing.
> 	
> 	Plug-in "com.trolltech.qtcpp" version "0.0.0" 
> referenced by this feature
> 	is missing.
> 	
> 	Plug-in "com.trolltech.qtcppdesigner.qtcpp" version 
> "0.0.0" referenced
> 	by this feature is missing.
> 	
> 	Plug-in "com.trolltech.qtcppintegrationhelp" version 
> "0.0.0" referenced
> 	by this feature is missing.
> 	
> 	Plug-in "com.trolltech.qtcppproject" version "0.0.0" 
> referenced by this
> 	feature is missing.
> 	
> 	Plug-in "com.trolltech.qtcppstartup" version "0.0.0" 
> referenced by this
> 	feature is missing.
> 	============
> 	
> 	A trawl through the Eclipse plugins folder shows none 
> of the above
> 	exist.
> 	
> 	Uninstalling Qt Eclipse Integration from "Control 
> Panel" -> "Add/Remove
> 	Programs" reverts Eclipse to a sensible working state.
> 	
> 	
> 	Apart from that, it all seems to be very useful.
> 	
> 	John
> 	
> 	To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx
> 	
> 	
> 	
> 	  
> 
> 
> -- 
> 
> CLINIQUE GENERALE DE MARIGNANE
> Avenue du général Raoul SALAN
> B.P. 89
> 13721 MARIGNANE Cédex
> 
> 
> M. Sébastien SIVERA
> Responsable Informatique
> Tél : 04.42.78.46.51
> Fax : 04.42.77.25.03
> 
> ________________________________
> 
>  
> 
> 
> 

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