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

Qt-interest Archive, May 2008
Plugins MacOS and Windoze


Message 1 in thread

Good day community!


I'm writting app - which consists of a small loader and the set of  
plugins (which can be modified as well - but the loader don't).

On MacOS Leopard it compiles and runs perfectly, but on windoze it  
compiles smoothly but don't loads!!! I see only the message  
that ....dll is not a valid plugin!

I've already played with CONFIG += release(debug_and_release or just  
debug) - that's not the solution :( it doesn't helps!

Any idea??

Best regards,
Ilya Dyoshin

--
 [ signature omitted ] 

Message 2 in thread

> Von: Ilya Dyoshin
> Good day community!
> 
> 
> I'm writting app - which consists of a small loader and the set of  
> plugins (which can be modified as well - but the loader don't).
> 
> On MacOS Leopard it compiles and runs perfectly, but on windoze it  
> compiles smoothly but don't loads!!! I see only the message  
> that ....dll is not a valid plugin!
> 
> I've already played with CONFIG += release(debug_and_release or just  
> debug) - that's not the solution :( it doesn't helps!
> 
> Any idea??
> 
Did you read the steps described here: http://doc.trolltech.com/4.3/plugins-howto.html ?
Especially that you can't mix debug/release libs and the Plugin Cache section.


Christian
-- 
 [ signature omitted ] 

Message 3 in thread

Yes! that's already fit! - but none of the plugins loaded :(

22 мая 2008, в 09:44, Christian Ehrlicher написал(а):
> Did you read the steps described here: http://doc.trolltech.com/4.3/plugins-howto.html 
>  ?
> Especially that you can't mix debug/release libs and the Plugin  
> Cache section.
>
>
> Christian
> -- 
> Desperate Housewives - das Spiel!
> Pikante Skandale, schockierende Details unter: http:// 
> flat.games.gmx.de

--
 [ signature omitted ] 

Message 4 in thread

> Von: Ilya Dyoshin 
> Yes! that's already fit! - but none of the plugins loaded :(
> 

Did you really look what the plugin cache said? And did you try to set QT_DEBUG_PLUGINS  and checked the output??


Christian

-- 
 [ signature omitted ] 

Message 5 in thread

Yes! I've double checked that...

maybe the problem is that mine plugins are linked to additional  
library ?? that library is present in the path... so I don't wether it  
will make some difference?

I've checked the qt version, that is linked to mine application and to  
mine plugin - both are qt release (I'm now compiling the release only  
version)

I'm out of ideas!

22 мая 2008, в 09:54, Christian Ehrlicher написал(а):
> Did you really look what the plugin cache said? And did you try to  
> set QT_DEBUG_PLUGINS  and checked the output??
>
>
> Christian
>
> -- 
> Desperate Housewives - das Spiel!
> Pikante Skandale, schockierende Details unter: http:// 
> flat.games.gmx.de

--
 [ signature omitted ] 

Message 6 in thread

Now I can see the message like

QLibrary:load_sys cannot load cdd_spr_bankov.dll (not found referenced  
module)


any idea ?? what I have to do with that ? 

Message 7 in thread

Ilya Dyoshin schrieb:
> Now I can see the message like
>
> QLibrary:load_sys cannot load cdd_spr_bankov.dll (not found referenced 
> module)
>
>
> any idea ?? what I have to do with that ? 
Some dll is missing ... Dependency walker might help you: 
http://www.dependencywalker.com/

Kai Koehne

--
 [ signature omitted ] 

Message 8 in thread

22 мая 2008, в 12:01, Kai Koehne написал(а):
> Some dll is missing ... Dependency walker might help you: http://www.dependencywalker.com/


Good day Kai


looked for dlls - now dependencywalker shows - everything correct. But
QLibrary:load_sys now tells cannot load cdd_spr_bankov.dll (incorrect  
try to access memory address - sorry maybe not exact how it looks in  
english version of program - I'm translating this message from russian )


Any idea ?
--
 [ signature omitted ] 

Message 9 in thread

Ilya Dyoshin wrote:
>
> looked for dlls - now dependencywalker shows - everything correct. But
> QLibrary:load_sys now tells cannot load cdd_spr_bankov.dll

Is cdd_spr_bankov.dll your plugin? The error message is coming from 
win32, while failing to load the respective dll. So it seems the dll is 
corrupted/wrong format/whatever :( Things you can try: Check that the 
_right_ dll is loaded, compile on another machine ...

--
 [ signature omitted ] 

Message 10 in thread

Good day,

maybe the problem is with linkage? 'cause mine plugin (when I scan it  
with dependencywalker) is using 6 times the same dll :( ? I think  
that's not normal behaviour for shared libraries linkage


Is it possible to fix ?


Best regards, Ilya Dyoshin


22 мая 2008, в 18:33, Kai Koehne написал(а):

> Is cdd_spr_bankov.dll your plugin? The error message is coming from  
> win32, while failing to load the respective dll. So it seems the dll  
> is corrupted/wrong format/whatever :( Things you can try: Check that  
> the _right_ dll is loaded, compile on another machine ...

--
 [ signature omitted ]