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 12:27:03 -0300
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
<Prev in Thread] Current Thread [Next in Thread>