Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, August 2006
Eclipse and FreeBSD


Message 1 in thread

Hi,

Since KDE/KDevelop doesn't have support for Qt4 at this stage I decided to
look at a different GUI that will help me with the interface.  I downloaded
the package for Eclipse-Linux.  Copyed the files into the base directory
(/usr/local/eclipse) and loaded eclipse.

Eclipse finds:
  Feature: Qt Jambi Reference
  Plugin:
    com.trolltech.qtdesigner
    com.trolltech.qtjambi
    com.trolltech.help_1.0.0

To run eclipse I need the native java but there is an option about which jre
to use and there I told it to use the linux one.  This allows java to run
fine with Qt versions.

I started a new project, no reference to Qt, so I chose "Java Project".  I
then add a class file and start by "import com.trolltech.qt.gui.*".  This
eclipse tells me it can't find, so I add it as an external jar file and an
environment variable (LD_LIBRARY_PATH) which points the the linux libraries.
With that it loads and runs without a glitch.  However I have not found any
mention of Ui files, or the qt designer.  In the File-preferences dialog
there is a reference to "Juic Builder" and "Qt Jambi" but I haven't found a
way to add such a file to the project.  This may just be me not knowing how
to use Eclipse but I've looked most places, all the obvious ones.

This may be the libraries not being loaded due to eclipse using the FreeBSD
java or something else.  Any help appreciated.

Any timeframe for releasing a version for FreeBSD?

Thanks,
	David



Message 2 in thread

blackdragon@xxxxxxxxxxxxxxxxxx wrote:

>mention of Ui files, or the qt designer.  In the File-preferences dialog
>there is a reference to "Juic Builder" and "Qt Jambi" but I haven't found a
>way to add such a file to the project.  This may just be me not knowing how
>to use Eclipse but I've looked most places, all the obvious ones.
>  
>
The Designer integration is invoked whenever you open or create a .ui 
file in Eclipse. There is also a set of views in a Qt folder under 
Window -> Show View -> Other.

More information about the plug-in here:

    http://doc.trolltech.com/qtjambi-1.0/qtjambi-eclipse.html

-- Eskil


Message 3 in thread

Hi all,

now what is the right place to put "newbie's questions"? Like the one
I'm struggling with right now: How do I add an action using the eclipse
plugin? Say, I use the ImageViewer example, and I want to add a button
to the button bar. Any walkthrough on how these basic things work?

Tnx,

M


Message 4 in thread

OK, saw that. Man qtjambi looks cool...

Now any good documentation on Qt that would help as a good starter? I
have an application to write that contains a tabbed view with tree views
and other widgets on each tab, or an MDI with different views to show.

Tnx,

M

Am Freitag, den 04.08.2006, 19:03 +0200 schrieb Matthias Nott:
> Hi all,
> 
> now what is the right place to put "newbie's questions"? Like the one
> I'm struggling with right now: How do I add an action using the
> eclipse
> plugin? Say, I use the ImageViewer example, and I want to add a button
> to the button bar. Any walkthrough on how these basic things work?
> 
> Tnx,
> 
> M
>