Qt-interest Archive, July 2007
qt integration into eclipse
Message 1 in thread
Dear All,
i've downloaded from QT their beta(?) version of eclipse pluging for linux.
Did anyone try to run it? I have copied the stuff into plugin directory
of eclipse, however the plugin seems not to be installed. at least it is not
listed in the list of plugins in help/about/plugins.... does anyone
encounter the
same problem?
thx
d.
Message 2 in thread
Hi,
I had the same problem - and solved it by downloading the Eclipse Europa CDT
unpacking it to /usr/local/eclipse (for example), than unpacking the
Qt Eclipse RC1 plugin and after it starting the Eclipse IDE the first time.
But with Eclipse Europa you'll face problems, if you want to install other
plugins due to very strict version dependancies of the Qt plugin (needs an
older CDT).
So clean up / uninstall Eclipse completely and install it again following
the above mentioned steps - then it should work.
Best Regards,
Christian
--
[ signature omitted ]
Message 3 in thread
Good afternoon,
I've tested RC1 of this plugin for Windows.
I'm using Qt 4.3.0 & MinGW & Eclipse Europa without this plugin, because
with the Scanner Configuration Builder of CDT 4 retreives all the needed
paths and symbols from the makefiles generated by qmake.
Therefore, I prefer to:
1. Edit my *.pro files with the basic Eclipse Text Editor,
2. Design GUI's with the wonderful Qt Designer,
3. Edit code with Eclipse C/C++ Editor (code completion, F3 & all wonderful
features still be available thanks to Scanner Configuration Builder of CDT
4).
Note:
I also dislike that the Qt Eclipse Integration plugin RC1 formats (without
notifying me!) *.pro files and makes them unreadable...
At least, it should provide *.pro files syntax highlighting to be as useful
as the Eclipse Makefile Editor.
But, I like this feature :
win32 {
something_1
} else:unix {
something_2
} else {
something_3
}
is optimized to (or something like that):
win32:something_1
else:unix:something_2
else:something_3
Conclusion (up to now :o):
Eclipse / CDT Europa & Qt standalone tools are enough for me, but maybe that
the Qt Jambi Integration plugin does make sense :o)
Best regards,
Christophe
"Christian Dähn" <daehn@xxxxxxxxxx> a écrit dans le message de news:
11150143.221184240385511.OPEN-XCHANGE.WebMail.tomcat@xxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I had the same problem - and solved it by downloading the Eclipse Europa
> CDT
> unpacking it to /usr/local/eclipse (for example), than unpacking the
> Qt Eclipse RC1 plugin and after it starting the Eclipse IDE the first
> time.
>
> But with Eclipse Europa you'll face problems, if you want to install other
> plugins due to very strict version dependancies of the Qt plugin (needs an
> older CDT).
>
> So clean up / uninstall Eclipse completely and install it again following
> the above mentioned steps - then it should work.
>
> Best Regards,
> Christian
>
>
>
> --
> 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 4 in thread
As usual the "reply" button send to the private email of the
contributor and not to the list. :-(
---------- Forwarded message ----------
From: Svenn Are Bjerkem <svenn.bjerkem@xxxxxxxxxxxxxx>
Date: Jul 14, 2007 12:52 AM
Subject: Re: qt integration into eclipse
To: Christophe Bismuth <christophe.bismuth@xxxxxxxxx>
On 7/13/07, Christophe Bismuth <christophe.bismuth@xxxxxxxxx> wrote:
> Good afternoon,
>
> I've tested RC1 of this plugin for Windows.
> I'm using Qt 4.3.0 & MinGW & Eclipse Europa without this plugin, because
> with the Scanner Configuration Builder of CDT 4 retreives all the needed
> paths and symbols from the makefiles generated by qmake.
>
Also installed RC1 on a system where I had Qt-4.3.0 installed and I am
very pleased with what I see. I hope to see a lot of features added
in the time to come. As a hobbyist GPL developer it is not an option
to spend money on a VC license, and Eclipse offers a common IDE for
all platforms where it runs. Trolltech has again done the right thing,
in my opinion, and cross-platform development is soon getting as easy
as with java, but in platform native binary code and hence factors
faster.
Keep up the good work,
Svenn
--
[ signature omitted ]
Message 5 in thread
Hello Svenn,
Could you tell us which features pleased you, I maybe misused (does this
word exist?) the Qt Eclipse Integration plugin?
Pleased share your experience with us, I was very exited by this plugin and
maybe as an Eclipse lover I expected to much...
Besides, I think that Trolltech should refesh their icon theme, which isn't
as candy as the Eclipse Platform one...
But don't get wrong, I do keep the faith in Trolltech!
Bye,
Christophe
"Svenn Are Bjerkem" <svenn.bjerkem@xxxxxxxxxxxxxx> a écrit dans le message
de news: 1efff110707131810u49de94bfy7ce487f1159287c@xxxxxxxxxxxxxxxxx
> As usual the "reply" button send to the private email of the
> contributor and not to the list. :-(
>
> ---------- Forwarded message ----------
> From: Svenn Are Bjerkem <svenn.bjerkem@xxxxxxxxxxxxxx>
> Date: Jul 14, 2007 12:52 AM
> Subject: Re: qt integration into eclipse
> To: Christophe Bismuth <christophe.bismuth@xxxxxxxxx>
>
>
> On 7/13/07, Christophe Bismuth <christophe.bismuth@xxxxxxxxx> wrote:
>> Good afternoon,
>>
>> I've tested RC1 of this plugin for Windows.
>> I'm using Qt 4.3.0 & MinGW & Eclipse Europa without this plugin, because
>> with the Scanner Configuration Builder of CDT 4 retreives all the needed
>> paths and symbols from the makefiles generated by qmake.
>>
>
> Also installed RC1 on a system where I had Qt-4.3.0 installed and I am
> very pleased with what I see. I hope to see a lot of features added
> in the time to come. As a hobbyist GPL developer it is not an option
> to spend money on a VC license, and Eclipse offers a common IDE for
> all platforms where it runs. Trolltech has again done the right thing,
> in my opinion, and cross-platform development is soon getting as easy
> as with java, but in platform native binary code and hence factors
> faster.
>
> Keep up the good work,
> Svenn
>
> --
> 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 6 in thread
On 7/14/07, Christophe Bismuth <christophe.bismuth@xxxxxxxxx> wrote:
> Hello Svenn,
>
> Could you tell us which features pleased you, I maybe misused (does this
> word exist?) the Qt Eclipse Integration plugin?
> Pleased share your experience with us, I was very exited by this plugin and
> maybe as an Eclipse lover I expected to much...
I have been using Eclipse as my preferred IDE for perl, php, python,
java, C/C++ for a long time. I am only occationally programming and
then it is important for me that I have a one stop shop for all the
things that I do with regards to programming. I have been trying to
program Qt4 from the command line only with vim and the Designer, but
since I only occationally have time to program, I forget many of the
manual steps that Qt programming used to be. If I would only be on
Linux, I would use Kdevelop and never complain, but Kdevelop doesn't
support other environments so well and Eclipse was my main favourite,
and hence Java was my preferred choice for cross-platform programming
(My tools must be usable on Windows and Linux). Problem is when too
many java tools are running at the same time, there is a reasonable
extra load on the machine and the apps are not so responsible, hence
my path lead back to Qt4 again. (Mac has become an issue as I also own
a PowerBook)
The most important thing about the plugin is that it takes basic care
of the .pro file, and generate a rudimentary template for all new
classes.
Compared to the NetBeans IDE from Sun, Eclipse was always a little bit
behind on the Java side, and I see a some Eclipse projects move over
to NetBeans just because the GUI editor is better. Sun also use the
NetBeans IDE for their C/C++ compiler now so maybe NetBeans could be
an alternative. I haven't used NetBeans for some years as Eclipse also
offer support for other languages than C++ and Java.
What I would like to see in the Eclipse plug-in for Qt is some kind of
action handling for menus and toolbars etc. Since these are generated
in the ui_*.h files by uic they are not visible to the user (hence it
should be easy to maintain a cross-index in the background) but it is
not so easy to get as clear a maintenance of actions as presented in
the Blanchette/Summerfield books on Qt where the actions are created
first and then toolbuttons and menus are given those actions as
arguments.
>
> Besides, I think that Trolltech should refesh their icon theme, which isn't
> as candy as the Eclipse Platform one...
For whatever reason I do not care so much about the eye-candy in
Eclipse as it is more important for me that the GUI editor is nicely
integrated. If I need another dialog, I just create a new class and
off I go. The plugin takes care of registering all the stuff for me in
the correct locations and I just build the project to get a running
binary.
>
> But don't get wrong, I do keep the faith in Trolltech!
They are slowly replacing Motif as GUI toolkit for some of the
applications that I use on a daily base. They have a far better
cross-platform offer than Gtk, and as they are running native, the
speed is factors better than Java. Their efforts in the handheld
segment is really something as they are competing against Symbian and
Microsoft CE in a extremely proprietary world. Being able to do all
development from within Eclipse is really a plus and it is just
hats-off for the courage that management at Trolltech show to invest
time and money to pull the low.cost open source community along and
not demanding that you own a license for VisualC.
kind regards,
Svenn
--
[ signature omitted ]
Message 7 in thread
Hello everybody. Since it seems that a lot of folks are having
problems, I'm sending you my "success story" :) I was correctly
running Eclipse 3.2.2 and Qt-integration 0.7.0 (I guess...) and I
decided to upgrade to Eclipse 3.3 and integration 1.0.0-RC1 on Linux.
Please note I have always downloaded the binaries from the
eclipse.org. Here's the checklist:
1. Remove your old eclipse
In my case, I installed it into ~/eclipse/ so I just removed this directory
2. Download Eclipse Classic flavour from http://www.eclipse.org/downloads/
I have to install many and many plugins so, even if I mainly use
Eclipse for C++, I preferred the Classic flavour
3. Install your brand new Eclipse 3.3
Just unpack the tar.gz in your favourite directory. You may want to
install some other things before proceeding: CDT, Subclipse... do it
now.
4. Download Qt-intergration RC1
5. Install Qt-integration RC1
This is the odd part, to me. If I unpack the tar.gz in a place where
all the directories would go in their place (i.e., for me is ~/) it
doesn't work. So I did like this: I unpacked the archive somewhere
else and just copied the contents of plugins/ and features/ into the
corresponding dirs in the eclipse tree.
6. Start your brand new Eclipse 3.3 + Qt-integration and just giggle
around or go party.
I was expecting a message like the one I got installing 0.7.0 but
whatever, the integration just worked out of the box... :P
Bye,
--
[ signature omitted ]
Message 8 in thread
On Wednesday 11 July 2007 18:51:48 dejfson wrote:
> Dear All,
> i've downloaded from QT their beta(?) version of eclipse pluging for linux.
> Did anyone try to run it? I have copied the stuff into plugin directory
> of eclipse, however the plugin seems not to be installed. at least it is
> not listed in the list of plugins in help/about/plugins.... does anyone
> encounter the
> same problem?
>
> thx
> d.
I am excited about it and have tried running it on my work computer (winxp)
and my laptop (Fedora 6). The biggest problem is in Fedora since Qt4 doesn't
install in just one directory tree. I found the includes in /usr/lib, but the
binaries in /usr/share/qt4. As far as I can tell, Eclipse's configuration
only allows you to specify one directory tree for your Qt install (which is
suppose to include binaries and includes.)
Is there a way around that or is there another way to configure the system to
get Eclipse + Qt working using Fedora's rpms?
thanks,
eah (Eric Hartwell)
--
[ signature omitted ]
Message 9 in thread
On 20.07.07 11:37:20, eah wrote:
> On Wednesday 11 July 2007 18:51:48 dejfson wrote:
> > Dear All,
> > i've downloaded from QT their beta(?) version of eclipse pluging for linux.
> > Did anyone try to run it? I have copied the stuff into plugin directory
> > of eclipse, however the plugin seems not to be installed. at least it is
> > not listed in the list of plugins in help/about/plugins.... does anyone
> > encounter the
> > same problem?
>
> I am excited about it and have tried running it on my work computer (winxp)
> and my laptop (Fedora 6). The biggest problem is in Fedora since Qt4 doesn't
> install in just one directory tree. I found the includes in /usr/lib, but the
> binaries in /usr/share/qt4. As far as I can tell, Eclipse's configuration
> only allows you to specify one directory tree for your Qt install (which is
> suppose to include binaries and includes.)
>
> Is there a way around that or is there another way to configure the system to
> get Eclipse + Qt working using Fedora's rpms?
Are you sure there's not the proper qt hierarchy under /usr/share/qt4?
Thats the case on Debian and unless I'm mistaken there has to be a "qt
dir" somewhere, try running qmake -query QT_INSTALL_PREFIX if that
directory doesn't have bin,include,lib,plugins,mkspecs and doc then the
Fedora rpm's are plain broken and you better write them a bugreport.
Andreas
--
[ signature omitted ]
Message 10 in thread
On Friday 20 July 2007 12:33:47 Andreas Pakulat wrote:
> qmake -query QT_INSTALL_PREFIX
ah ha! the game is afoot!
qmake -query QT_INSTALL_PREFIX reports /usr/lib64/qt-3.3 (yes, i'm on a
x86_64)
/usr/lib64/qt-3.3/ contains bin, etc, include, lib, mkspecs, phrasebooks,
plugins, templates, and translations.
Since I'm shooting for Qt4, I looked in /usr/lib64/qt4 (which is what
qmake-qt4 -query QT_INSTALL_PREFIX reports) and only found bin, demos, doc,
examples, LICENSE.GPL, mkspecs, and plugins
so, yeah it looks like you're right - the RPMs are broken
thanks,
eah
--
[ signature omitted ]
Message 11 in thread
On Friday 20 July 2007 10:33:47 am Andreas Pakulat wrote:
> On 20.07.07 11:37:20, eah wrote:
> > On Wednesday 11 July 2007 18:51:48 dejfson wrote:
> > > Dear All,
> > > i've downloaded from QT their beta(?) version of eclipse pluging for
> > > linux. Did anyone try to run it? I have copied the stuff into plugin
> > > directory of eclipse, however the plugin seems not to be installed. at
> > > least it is not listed in the list of plugins in help/about/plugins....
> > > does anyone encounter the
> > > same problem?
> >
> > I am excited about it and have tried running it on my work computer
> > (winxp) and my laptop (Fedora 6). The biggest problem is in Fedora since
> > Qt4 doesn't install in just one directory tree. I found the includes in
> > /usr/lib, but the binaries in /usr/share/qt4. As far as I can tell,
> > Eclipse's configuration only allows you to specify one directory tree for
> > your Qt install (which is suppose to include binaries and includes.)
> >
> > Is there a way around that or is there another way to configure the
> > system to get Eclipse + Qt working using Fedora's rpms?
>
> Are you sure there's not the proper qt hierarchy under /usr/share/qt4?
> Thats the case on Debian and unless I'm mistaken there has to be a "qt
> dir" somewhere, try running qmake -query QT_INSTALL_PREFIX if that
> directory doesn't have bin,include,lib,plugins,mkspecs and doc then the
> Fedora rpm's are plain broken and you better write them a bugreport.
>
> Andreas
qmake-qt4 -query QT_INSTALL_PREFIX = /usr/lib64/qt4
qmake-qt4 -query QT_INSTALL_LIBS = /usr/lib64
qmake-qt4 -query QT_INSTALL_BINS = /usr/lib64/qt4/bin
qmake-qt4 -query QT_INSTALL_HEADERS = /usr/include
qmake-qt4 -query QT_INSTALL_DOCS = /usr/share/doc/qt4
qmake-qt4 -query QMAKE_MKSPECS = /usr/share/qt4/mkspecs:/usr/lib64/qt4/mkspecs
qmake-qt4 -query QMAKE_INSTALL_PLUGINS = /usr/lib64/qt4/plugins
Are you saying everything is supposed to be under the QT_INSTALL_PREFIX?
Let's compare with the Qt/Mac binary install that Trolltech makes.
qmake -query QT_INSTALL_PREFIX = /
qmake -query QT_INSTALL_LIBS = /Library/Frameworks
qmake -query QT_INSTALL_BINS = /Developer/Tools/Qt
qmake -query QT_INSTALL_HEADERS = /usr/include
qmake -query QT_INSTALL_DOCS = /Developer/Documention/Qt
qmake -query QMAKE_MKSPECS = /usr/local/Qt4.2/mkspecs
qmake -query QMAKE_INSTALL_PLUGINS = /Developer/Applications/Qt/plugins
I find it odd that mkspecs are under /usr/local, and libQtUiTools.a is
in /usr/lib instead of under QT_INSTALL_LIBS.
Anyway, I don't think everything-under-QT_INSTALL_PREFIX can be assumed.
qmake should be able to tell you where everything is.
Clint
--
[ signature omitted ]
Message 12 in thread
On Friday 20 July 2007 12:54:56 clinton@xxxxxxxxxxxx wrote:
> <snip>
> Anyway, I don't think everything-under-QT_INSTALL_PREFIX can be assumed.
> qmake should be able to tell you where everything is.
>
> Clint
>
Ok. I can agree with that, but what do I tell Eclipse when it wants to know
where both binaries and includes are located?
thanks,
eah
--
[ signature omitted ]
Message 13 in thread
On 20.07.07 10:54:56, clinton@xxxxxxxxxxxx wrote:
> On Friday 20 July 2007 10:33:47 am Andreas Pakulat wrote:
> > On 20.07.07 11:37:20, eah wrote:
> > > On Wednesday 11 July 2007 18:51:48 dejfson wrote:
> > > > Dear All,
> > > > i've downloaded from QT their beta(?) version of eclipse pluging for
> > > > linux. Did anyone try to run it? I have copied the stuff into plugin
> > > > directory of eclipse, however the plugin seems not to be installed. at
> > > > least it is not listed in the list of plugins in help/about/plugins....
> > > > does anyone encounter the
> > > > same problem?
> > >
> > > I am excited about it and have tried running it on my work computer
> > > (winxp) and my laptop (Fedora 6). The biggest problem is in Fedora since
> > > Qt4 doesn't install in just one directory tree. I found the includes in
> > > /usr/lib, but the binaries in /usr/share/qt4. As far as I can tell,
> > > Eclipse's configuration only allows you to specify one directory tree for
> > > your Qt install (which is suppose to include binaries and includes.)
> > >
> > > Is there a way around that or is there another way to configure the
> > > system to get Eclipse + Qt working using Fedora's rpms?
> >
> > Are you sure there's not the proper qt hierarchy under /usr/share/qt4?
> > Thats the case on Debian and unless I'm mistaken there has to be a "qt
> > dir" somewhere, try running qmake -query QT_INSTALL_PREFIX if that
> > directory doesn't have bin,include,lib,plugins,mkspecs and doc then the
> > Fedora rpm's are plain broken and you better write them a bugreport.
> >
> > Andreas
>
> qmake-qt4 -query QT_INSTALL_PREFIX = /usr/lib64/qt4
> qmake-qt4 -query QT_INSTALL_LIBS = /usr/lib64
> qmake-qt4 -query QT_INSTALL_BINS = /usr/lib64/qt4/bin
> qmake-qt4 -query QT_INSTALL_HEADERS = /usr/include
> qmake-qt4 -query QT_INSTALL_DOCS = /usr/share/doc/qt4
> qmake-qt4 -query QMAKE_MKSPECS = /usr/share/qt4/mkspecs:/usr/lib64/qt4/mkspecs
> qmake-qt4 -query QMAKE_INSTALL_PLUGINS = /usr/lib64/qt4/plugins
>
> Are you saying everything is supposed to be under the QT_INSTALL_PREFIX?
Actually no :) Ok I forgot that the good debian developers are nice and
provide symlinks for lib and include dirs in the INSTALL_PREFIX :)
So in fact the eclipse plugin should allow to set different directories
for headers, libs and bins or just ask for the qmake binary and find out
the right paths itself.
Andreas
--
[ signature omitted ]
Message 14 in thread
On Friday 20 July 2007 13:48:19 Andreas Pakulat wrote:
> On 20.07.07 10:54:56, clinton@xxxxxxxxxxxx wrote:
> > On Friday 20 July 2007 10:33:47 am Andreas Pakulat wrote:
> > > On 20.07.07 11:37:20, eah wrote:
> > > > On Wednesday 11 July 2007 18:51:48 dejfson wrote:
> > > > > Dear All,
> > > > > i've downloaded from QT their beta(?) version of eclipse pluging
> > > > > for linux. Did anyone try to run it? I have copied the stuff into
> > > > > plugin directory of eclipse, however the plugin seems not to be
> > > > > installed. at least it is not listed in the list of plugins in
> > > > > help/about/plugins.... does anyone encounter the
> > > > > same problem?
> > > >
> > > > I am excited about it and have tried running it on my work computer
> > > > (winxp) and my laptop (Fedora 6). The biggest problem is in Fedora
> > > > since Qt4 doesn't install in just one directory tree. I found the
> > > > includes in /usr/lib, but the binaries in /usr/share/qt4. As far as I
> > > > can tell, Eclipse's configuration only allows you to specify one
> > > > directory tree for your Qt install (which is suppose to include
> > > > binaries and includes.)
> > > >
> > > > Is there a way around that or is there another way to configure the
> > > > system to get Eclipse + Qt working using Fedora's rpms?
> > >
> > > Are you sure there's not the proper qt hierarchy under /usr/share/qt4?
> > > Thats the case on Debian and unless I'm mistaken there has to be a "qt
> > > dir" somewhere, try running qmake -query QT_INSTALL_PREFIX if that
> > > directory doesn't have bin,include,lib,plugins,mkspecs and doc then the
> > > Fedora rpm's are plain broken and you better write them a bugreport.
> > >
> > > Andreas
> >
> > qmake-qt4 -query QT_INSTALL_PREFIX = /usr/lib64/qt4
> > qmake-qt4 -query QT_INSTALL_LIBS = /usr/lib64
> > qmake-qt4 -query QT_INSTALL_BINS = /usr/lib64/qt4/bin
> > qmake-qt4 -query QT_INSTALL_HEADERS = /usr/include
> > qmake-qt4 -query QT_INSTALL_DOCS = /usr/share/doc/qt4
> > qmake-qt4 -query QMAKE_MKSPECS =
> > /usr/share/qt4/mkspecs:/usr/lib64/qt4/mkspecs qmake-qt4 -query
> > QMAKE_INSTALL_PLUGINS = /usr/lib64/qt4/plugins
> >
> > Are you saying everything is supposed to be under the QT_INSTALL_PREFIX?
>
> Actually no :) Ok I forgot that the good debian developers are nice and
> provide symlinks for lib and include dirs in the INSTALL_PREFIX :)
>
> So in fact the eclipse plugin should allow to set different directories
> for headers, libs and bins or just ask for the qmake binary and find out
> the right paths itself.
>
> Andreas
So what I did was manually create the include/ directory in /usr/lib64/qt4 and
created the symlinks to Qt4 includes in there. Now it works just fine.
thanks,
eah
--
[ signature omitted ]