Mon 30 Dec 2002 06:27:41 AM UTC, comment #4:
Fixed now - problem with the relationship between switch
statments and String.IsInterned. The simple test case
follows. If the C# code for "ConnectItem" had been
included in the original bug report, it would have made
this a lot easier to track down. As it was, it took
4 hours to install the necessary dependencies, 10 minutes
to diagnose the problem as being non-Qt related, and about
half an hour to fix.
---
using System;
class Test
{
public static void Tryout(String arg)
{
switch(arg)
{
case "()": break;
case "(int)": break;
default: Console.WriteLine(arg + ": wrong!"); break;
}
}
public static void Main()
{
Tryout("()");
Tryout(String.Concat("(", "int)"));
}
}
---
|
Mon 30 Dec 2002 03:14:42 AM UTC, comment #3:
Rhys, if it was easy to duplicate or provide a 5 line test case we'd be doing it. Some of these problems are complex and are exposed as a direct result of the larger projects stress testing the CLI environments.
I do not understand the 'rebuild entire Linux installation' comment at all. Marcus has provided a Qt.dll and the new build system uses qmake which I assume you are familiar with.
So, should I take this to mean all bug reports regarding Qt# will no longer be considered unless they've been reduced? Although it is obviously desirable to have a simple test case that is simply not possible at times. The bug could be very complex or the person who has found the bug might not have the expertise to reduce it. Simply saying, 'we aren't going to look at Qt# bugs' quite frankly, sucks!
|
Mon 30 Dec 2002 12:44:22 AM UTC, original submission:
When the ScribbleWindow and QuantumFractals programs are compiled by csc, the resulting executables do not run with ilrun. Both programs abort with the same error:
Uncaught exception: System.ArgumentException: Unsupported slot arguments: ()
at Qt.QMenuData.ConnectItem(IQMenuData, IntPtr, Int32, QObject, String)
at Qt.QPopupMenu.ConnectItem(Int32, QObject, String)
at Qt.QPopupMenu.InsertItem(String, QObject, String, QKeySequence, Int32, Int32)
at Qt.QPopupMenu.InsertItem(String, QObject, String, QKeySequence, Int32)
at Qt.QPopupMenu.InsertItem(String, QObject, String, QKeySequence)
at Qt.QPopupMenu.InsertItem(String, QObject, String)
at QtSamples.ScribbleWindow..ctor()
at QtSamples.ScribbleWindow.Main(String[])
|