[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] [bindings] [Bug 324061] New: QWidget.WinId property in Qyoto throws AccessViolationEx
From: <num.ani.cloud () gmail ! com>
Date: 2013-08-26 10:51:24
Message-ID: bug-324061-22004 () http ! bugs ! kde ! org/
[Download RAW message or body]
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@kde.org
Reporter: num.ani.cloud@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.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic