[Kde-bindings] Install Windows Binaries

Dimitar Dobrev dpldobrev at yahoo.com
Wed Oct 23 13:25:38 UTC 2013


    The qtdotnet version has been deprecated for years.

    Dimitar




On Wednesday, October 23, 2013 3:57 PM, Mat Arge <argemat1010 at gmail.com> wrote:
 
After some further evaluation, I might have found the reason for my problem:
The qyoto installation on my develeopment machine uses the assembly "qt-
dotnet.dll" (from the mono-qt4 package of OpenSuse), while the windows 
binaries I downloaded uses the qyoto-qtcore.dll and qyoto-qtgui.dll. There are 
some differnces between them (for instance QApplication is in the Qyoto 
namespace in qt-dotnet.dll but in QtGui in the other one).

qt-dotnet.dll refernces the external module "qyoto" (libqyoto2.so on linux), 
which I am missing in Windows.

What is the reason for those different types of packages? Is one version a 
deprecated one, or is OpenSuse doing something weird?

cheers
Mat


On Monday 21. October 2013 15:07:47 you wrote:
> On Monday 21. October 2013 04:32:59 Dimitar Dobrev wrote:
> >     If you've got everything - smokebase, smoke<module>,
> > 
> > qyoto-<module>-native, then I believe your problem is about Qt deployment,
> > not Qyoto.
> 
> Shouldn't there be a "qyoto.dll" (coresponding to the libqyoto.so on linux)?
> If I read the stacktrace I posted in an earllier mail correctly it is
> looking for (and missing) that one.
> 
> > Please take a look at
> > http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html .
> 
> Thanks for the link. Though I am not sure where it helps me, since I am not
> acutally building any QT-Program but only use the qyoto libraries directly.
> 
> > In
> > general, Dependency Walker is an extremely useful program against such
> > errors.
> 
> I didn't know that one. I tried it, but it didn't show any .NET
> dependencies, only mscoree.dll
> 
> cheers
> Mat
> 
> > On Monday, October 21, 2013 2:19 PM, Mat Arge <argemat1010 at gmail.com>
> > wrote:> 
> > On Monday 21. October 2013 16:28:40 Manickkavasakam wrote:
> > > Hi ,
> > > 
> > > I am not sure, whether the windows binaries will work in linux
> > > environment.
> > > I think you need to build it from source, if the binaries are not
> > > available
> > > for your distro. Please check this link for build instructions
> > > http://zetcode.com/gui/csharpqyoto/introduction/.
> > 
> > No, you misunderstood me. I am developing the software in linux,
> > everything
> > works fine there (installed the tight packages).
> > But the software needs to run on Windows, too (acutally, primarily there).
> > And so I am trying to get it running on Windows by copying the bin folder
> > from Monodevelop and supplying the correct dlls for windows. The last
> > part,
> > is where I am stuck right now.
> > 
> > cheers
> > Mat
> > 
> > > Thanks,
> > > Manikk
> > > 
> > > On Mon, Oct 21, 2013 at 4:19 PM, Mat Arge <argemat1010 at gmail.com> wrote:
> > > > On Monday 21. October 2013 16:11:46 Manickkavasakam wrote:
> > > > > Hi Matt,
> > > > > 
> > > > > Are you using VS or MonoDevelop?
> > > > 
> > > > I am doing all development work with MonoDevelop on Linux.
> > > > 
> > > > > Thanks,
> > > > > Manikk
> > > > > 
> > > > > On Mon, Oct 21, 2013 at 4:09 PM, Mat Arge <argemat1010 at gmail.com>
> 
> wrote:
> > > > > > I have copied everything from bin and lib into the root folder of
> > > > > > my
> > > > > > application (on Windows XP, if that matters), but I still get an
> > > > 
> > > > exception
> > > > 
> > > > > > when I execute my exe:
> > > > > > 
> > > > > > Unhandled Exception: System.TypeInitializationException: The type
> > > > > > initializer
> > > > > > for 'Qyoto.QApplication' threw an exception. --->
> > > > > > System.TypeInitializationException: The type initializer for
> > > > > > 'Qyoto.SmokeInvocation' threw an exception. --->
> > > > > > System.DllNotFoundException:
> > > > > > Unable to load DLL 'qyoto': Das angegebene Modul wurde nicht
> > > > > > gefunden.
> > > > > > (Exception from HRESULT: 0x8007007E)
> > > > > > 
> > > > > >    at Qyoto.Qyoto.Init_qyoto()
> > > > > >    at Qyoto.SmokeInvocation.InitRuntime()
> > > > > >    at Qyoto.SmokeInvocation..cctor()
> > > > > >    --- End of inner exception stack trace ---
> > > > > >    at Qyoto.SmokeInvocation..ctor(Type klass, Object obj)
> > > > > >    at Qyoto.QApplication..cctor()
> > > > > >    --- End of inner exception stack trace ---
> > > > > >    at Qyoto.QApplication..ctor(String[] argv)
> > > > > >    at MyApp.Main()
> > > > > > 
> > > > > > On Monday 21. October 2013 03:31:05 Dimitar Dobrev wrote:
> > > > > > >     Hi, Mat,
> > > > > > >    
> > > > > > >     You don't install anything. You just copy the files you need
> > > > > > >     from
> > > > > > >     the
> > > > > > > 
> > > > > > > archive. You need smokebase.dll from bin and then for each Qt
> > > > > > > module
> > > > 
> > > > you
> > > > 
> > > > > > > want, get qyoto-<module>.dll from lib,
> > > > > > > andqyoto-<module>-native.dll
> > > > 
> > > > and
> > > > 
> > > > > > > smoke<module>.dll from bin.
> > > > > > > 
> > > > > > >     Regards,
> > > > > > >     Dimitar Dobrev
> > > > > > > 
> > > > > > > On Monday, October 21, 2013 1:21 PM, Mat Arge
> > > > > > > <argemat1010 at gmail.com
> > > > > > 
> > > > > > wrote:
> > > > > > > Hy!
> > > > > > > 
> > > > > > > Sorry if this is a stupid question, but I am currently lost with
> > > > > > 
> > > > > > installing
> > > > > > 
> > > > > > > the qyoto binaries for windows  downloaded from
> > > > > > > http://techbase.kde.org/Development/Languages/Qyoto
> > > > > > > 
> > > > > > > Since there is now installer inside, where do I have to copy all
> > > > > > > the
> > > > > > 
> > > > > > files
> > > > > > 
> > > > > > > from bin, include and lib?
> > > > > > > 
> > > > > > > cheers
> > > > > > > Mat
> > > > > > > _______________________________________________
> > > > > > > Kde-bindings mailing list
> > > > > > > Kde-bindings at kde.org
> > > > > > > https://mail.kde.org/mailman/listinfo/kde-bindings
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Kde-bindings mailing list
> > > > > > Kde-bindings at kde.org
> > > > > > https://mail.kde.org/mailman/listinfo/kde-bindings
> > > > 
> > > > _______________________________________________
> > > > Kde-bindings mailing list
> > > > Kde-bindings at kde.org
> > > > https://mail.kde.org/mailman/listinfo/kde-bindings
> > 
> > _______________________________________________
> > Kde-bindings mailing list
> > Kde-bindings at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-bindings


_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20131023/87408b40/attachment-0001.html>


More information about the Kde-bindings mailing list