[Kde-bindings] [bindings] [Bug 324061] New: QWidget.WinId property in Qyoto throws AccessViolationException
num.ani.cloud at gmail.com
num.ani.cloud at gmail.com
Mon Aug 26 10:51:24 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=324061
Bug ID: 324061
Summary: QWidget.WinId property in Qyoto throws
AccessViolationException
Classification: Unclassified
Product: bindings
Version: 4.9
Platform: unspecified
OS: MS Windows
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: kde-bindings at kde.org
Reporter: num.ani.cloud at gmail.com
(I'm Japanese, and I hope you to tolerate poor English.)
Hi, I'm using Qyoto. I tried to get window handle of instance of my widget
class inherited from QWidget, but when I access QWidget.WinId Property it threw
AccessViolationException.
My program is as follows:
using QtGui;
class Program
{
public static void Main( string[] args )
{
var app = new QApplication( args );
var window = new MyWidget( null );
window.Show();
ulong id = window.WinId.Value; // The exception was thrown from here
QApplication.Exec();
}
}
class MyWidget : QWidget
{
public MyWidget( QWidget parent )
: base( parent )
{
}
}
Is this a bug made by Qyoto? Or Is there something mistake in my program?
Reproducible: Always
Steps to Reproduce:
1. Set up project for using Qyoto.
2. Put source code into project and run.
Actual Results:
The exception thrown from access for window.WinId
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-bindings
mailing list