qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt4] Creating an app that suports plugin via Qt

Subject: Re: [Qt4] Creating an app that suports plugin via Qt
From: "Thiago Santos"
Date: Tue, 28 Mar 2006 15:00:07 -0300
Ok guys,
I participate of the development of DevQt a new IDE totaly focus on Qt, it is on a very early stage so... not usable yet :-P
But, I want to propose a Plugin System to other developers together with my CodeEditor, so I create a quick project LGPL with the new editor too and I'm sharing it with you, but please! help me solve the plugin problem :-D!!!
I really don't need a code or something like this [of course if you want to... be my gest ;-) ] I just need an idea to the plugin system that works!

Well... see the code and comment me please!
Tks!

On 3/28/06, Thiago Santos <thiago.salves@xxxxxxxxx> wrote:
Tks man, I'll try as soon as possible and send a mail with all project atached ;-)



On 3/28/06, Andreas Pakulat <apaku@xxxxxx > wrote:
On 28.03.06 10:55:42, Thiago Santos wrote:
> Ok, I drained all my possibilities to solve this. Let me show you the entire
> project here. I know that is a 500 lines mail, but please have a look and
> tell me what I'm doing wrong!

Removed the STR_XX code, I think I found the mistake you made:

You define an interface that is not purely abstract. It inherits from
QSyntaxHighlighter and thus is a concrete class and not an interface
anymore.

Changing this so that highlighter inherits from QSyntaxHighlighter and
the HighlighterInterface makes you plugin work as expected.

Andreas

--
Don't look now, but the man in the moon is laughing at you.

--
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/




--
Thiago dos Santos Alves
Computer Scientist

thiago.salves@xxxxxxxxx
-----------------------------------------------------
"A mente que se abre a uma nova idéia jamais voltará ao seu tamanho original."
- Albert Einstein



--
Thiago dos Santos Alves
Computer Scientist

thiago.salves@xxxxxxxxx
-----------------------------------------------------
"A mente que se abre a uma nova idéia jamais voltará ao seu tamanho original."
- Albert Einstein
<Prev in Thread] Current Thread [Next in Thread>