[Qt-interest] Qt - Eclipse - How open existing Qt project in Eclipse workspace?
Ed Sutton
ESutton at fescorp.com
Tue Jan 26 21:43:07 CET 2010
Thanks Jan !
I incorrectly assumed import made a copy of all checked-out code. I now see source is still located in it's original checkout location. Eclipse simply creates a bunch of hidden stuff in the /workspace/.metadata folder. Is there a way to check-in Eclipse Workspace settings into Subversion?
My thought was to standardize on the Eclipse CDT environment. It needs to be easy for a developer to checkout source code, edit, compile, and debug within Eclipse. There are some settings, for example debug environment settings that are apparently stored in the Eclipse workspace rather than importing the Qt project debug/run settings. I do not think Eclipse will be well accepted if a developer must setup Eclipse workspace debug/run settings for each checked-out project. I see Eclipse creates two hidden files, ".cproject" and ".project", in the checkout directory where the Qt project was located. Should I add these to Subversion?
Any tips on using Eclipse are much appreciated. The learning curve seems steep but I think the end result may be worthwhile.
-Ed
> Simply check it out to a location not in the workspace dir. Afterwards
> do an import (import qt project into eclipse).
> Or use subclipse plugin for svn check out.
>
> Jan
>
> Ed Sutton schrieb:
>> How can I open an existing Qt project that is located in the Eclipse workspace folder?
>>
>> I cannot figure out how to simply open an existing Qt project file ( *.pro ). Opening the *.pro file directly opens the file itself and not the project. If I try File->Import->Qt Project, it says:
>>
>> "Cannot import pro-file from workspace location".
>>
>> I was hoping Eclipse will provide a complete IDE and allow my to checkout a Subversion project then open the Qt project file, edit, compile, and debug. Apparently Eclipse creates some hidden Qt project file that I cannot find. The last time I tried Qt / Eclipse integration I gave up and went back to using Qt Creator. This time I was hoping to become familiar with Eclipse for general C++ (maybe Java) software development plus the wealth of available plug-ins ( Subversion, etc ).
>>
>> Thanks in advance for any tips or suggestions,
>>
>> -Ed
>>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-Ed
More information about the Qt-interest-old
mailing list