Request new windows prerelease

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Request new windows prerelease

Thomas Bonte
Administrator
Hi Werner, would it possible to build a new windows prerelease?

Lasconic has currently problems with his build: msscore on windows xp/vista crashes as soon as we trigger any plugin. The debug build doesn't help us much bc it crashes before it can generate output. With your build, we could define easier where the problem comes from.
Reply | Threaded
Open this post in threaded view
|

Re: Re quest new windows prerelease

lasconic
Administrator

After testing on several computers, it seems that computers with Qt installed can run plugins. Others can't.
On a working computer if I rename the Qt directory (C:\Qt -> C:\Qt2), it still works !

Maybe this is linked to the last change to decrease the size of the bindings ?

Lasconic


2008/7/25 Thomas Bonte <[hidden email]>:

Hi Werner, would it possible to build a new windows prerelease?

Lasconic has currently problems with his build: msscore on windows xp/vista
crashes as soon as we trigger any plugin. The debug build doesn't help us
much bc it crashes before it can generate output. With your build, we could
define easier where the problem comes from.
--
View this message in context: http://www.nabble.com/Request-new-windows-prerelease-tp18649040p18649040.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Re quest new windows prerelease

wschweer
Administrator
I experimented a bit with static linking of the qt bindings for script plugins.
The good news is that static linking decreases the package size a lot.
The bad news is that it does not work. After some debugging i found out that
qt 4.4 cannot use static linked plugins to extend scripting. Qt4.5 has special
code for it and i assume it will work with qt4.5 but could not verify this yet.
So until qt4.5 is available you should set STATIC_SCRIPT_BINDINGS to FALSE.

/ws

On Freitag 25 Juli 2008, Lasconic wrote:
> After testing on several computers, it seems that computers with Qt
> installed can run plugins. Others can't.
> On a working computer if I rename the Qt directory (C:\Qt -> C:\Qt2), it
> still works !
>
> Maybe this is linked to the last change to decrease the size of the bindings
> ?
>
> Lasconic


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Re quest new windows prerelease

lasconic
Administrator

Ok ! thks for the quick answer !
I just verify STATIC_SCRIPT_BINDINGS is set to false in mscore/CMakelist.txt FALSE.

I grep the code to see how it is used and find this in mscore.cpp
#ifdef STATIC_SCRIPT_BINDINGS
Q_IMPORT_PLUGIN(com_trolltech_qt_gui_ScriptPlugin)
Q_IMPORT_PLUGIN(com_trolltech_qt_core_ScriptPlugin)
....

Does that check if the variable is defined ? or set to false ? Can it be the problem ?

Lasconic


2008/7/25 Werner Schweer <[hidden email]>:
I experimented a bit with static linking of the qt bindings for script plugins.
The good news is that static linking decreases the package size a lot.
The bad news is that it does not work. After some debugging i found out that
qt 4.4 cannot use static linked plugins to extend scripting. Qt4.5 has special
code for it and i assume it will work with qt4.5 but could not verify this yet.
So until qt4.5 is available you should set STATIC_SCRIPT_BINDINGS to FALSE.

/ws

On Freitag 25 Juli 2008, Lasconic wrote:
> After testing on several computers, it seems that computers with Qt
> installed can run plugins. Others can't.
> On a working computer if I rename the Qt directory (C:\Qt -> C:\Qt2), it
> still works !
>
> Maybe this is linked to the last change to decrease the size of the bindings
> ?
>
> Lasconic


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Re quest new windows prerelease

wschweer
Administrator
I dont know what this macro exactly does but think it adds the static
linked plugin (the entry point) to an internal list so qt knows what plugins
are available and how to access them. The problem with qt4.4 is that in
the method importExtension() only external libs are scanned and no internal
plugin list. Qt4.5 has code to look first for static linked plugins.
This essentially means that in qt4.4 statically linked script plugins have
no effect.

/ws

On Freitag 25 Juli 2008, Lasconic wrote:

> Ok ! thks for the quick answer !
> I just verify STATIC_SCRIPT_BINDINGS is set to false in mscore/CMakelist.txt
> FALSE.
>
> I grep the code to see how it is used and find this in mscore.cpp
> #ifdef STATIC_SCRIPT_BINDINGS
> Q_IMPORT_PLUGIN(com_trolltech_qt_gui_ScriptPlugin)
> Q_IMPORT_PLUGIN(com_trolltech_qt_core_ScriptPlugin)
> ....
>
> Does that check if the variable is defined ? or set to false ? Can it be the
> problem ?
>
> Lasconic
>
>
> 2008/7/25 Werner Schweer <[hidden email]>:
>
> > I experimented a bit with static linking of the qt bindings for script
> > plugins.
> > The good news is that static linking decreases the package size a lot.
> > The bad news is that it does not work. After some debugging i found out
> > that
> > qt 4.4 cannot use static linked plugins to extend scripting. Qt4.5 has
> > special
> > code for it and i assume it will work with qt4.5 but could not verify this
> > yet.
> > So until qt4.5 is available you should set STATIC_SCRIPT_BINDINGS to FALSE.
> >
> > /ws
> >
> > On Freitag 25 Juli 2008, Lasconic wrote:
> > > After testing on several computers, it seems that computers with Qt
> > > installed can run plugins. Others can't.
> > > On a working computer if I rename the Qt directory (C:\Qt -> C:\Qt2), it
> > > still works !
> > >
> > > Maybe this is linked to the last change to decrease the size of the
> > bindings
> > > ?
> > >
> > > Lasconic
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Mscore-developer mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/mscore-developer
> >
>




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Re quest new windows prerelease

wschweer
Administrator
In reply to this post by lasconic
On Freitag 25 Juli 2008, Lasconic wrote:

> Ok ! thks for the quick answer !
> I just verify STATIC_SCRIPT_BINDINGS is set to false in mscore/CMakelist.txt
> FALSE.
>
> I grep the code to see how it is used and find this in mscore.cpp
> #ifdef STATIC_SCRIPT_BINDINGS
> Q_IMPORT_PLUGIN(com_trolltech_qt_gui_ScriptPlugin)
> Q_IMPORT_PLUGIN(com_trolltech_qt_core_ScriptPlugin)
> ....
>
> Does that check if the variable is defined ? or set to false ? Can it be the
> problem ?

If STATIC_SCRIPT_BINDINGS is set to false in CMakeList.txt, then the c++ preprocessor
variable STATIC_SCRIPT_BINDINGS is not defined at all as can be seen in the
generated header file build/config.h.

/ws


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer