application crashes in runtime ( v 10.1 )

icaromotta

08-07-2010 16:23:36

I downloaded the project, compiled in release dlls and libs.

I created my ogre project and compiled. Did not generate errors, but anything I build with Quick crashes the application.

What could it be?


thanks

Edit: Following the first tutorial does not work, but noticed it was being made the example that came with the sdk and realized it was different.

But still I am not able to load the application crash because files.sheet

icaromotta

08-07-2010 21:25:20

This first code is generate by editor but crashes the application


Sheet Sheet
{
Dimensions 0 0 1024 768

UserDefinedHandlers WidgetEvents
{
}

Child Widgets
{
Button Button
{
Dimensions 480 358 75 25
Dragable true
MoveBaseWidgetOnDrag true
ResizeFromBottom true
ResizeFromLeft true
ResizeFromRight true
ResizeFromTop true
Text.AllottedSize 71 21
Text.HorizontalAlignment TEXT_ALIGNMENT_HORIZONTAL_CENTER

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 0 0 0 0
}

}

Label Label
{
Dimensions 501 364 32 14
Dragable true
MoveBaseWidgetOnDrag true
ResizeFromBottom true
ResizeFromLeft true
ResizeFromRight true
ResizeFromTop true
Text.AllottedSize 30 12

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Label
}

}

}

Child Windows
{
Window QuickGUIEditor.Window
{
Dimensions 193 128 534 549
MinSize 200 450
RelativeOpacity 0.8
Text.AllottedSize 0 16
Text.HorizontalAlignment TEXT_ALIGNMENT_HORIZONTAL_CENTER
Visible false

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Sheet
}

Child Widgets
{
TabControl QuickGUIEditor.TabControl
{
Dimensions 0 0 514 349
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
SkinType editor
VerticalAnchor ANCHOR_VERTICAL_TOP_BOTTOM

UserDefinedHandlers WidgetEvents
{
}

UserDefinedHandlers TabControlEvents
{
}

Child Widgets
{
TabPage QuickGUIEditor.TabPage
{
Index 0

Text segments
{
Segment0 micross.12 1 1 1 1 Properties
}

Child Widgets
{
PropertyGrid QuickGUIEditor.PropertyGrid
{
Dimensions 0 0 514 332
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
PropertyHeight 17
SkinType QuickGUIEditor
TransparencyPicking false
VerticalAnchor ANCHOR_VERTICAL_TOP_BOTTOM
YScrollOffset 59

UserDefinedHandlers WidgetEvents
{
}

UserDefinedHandlers PropertyGridEvents
{
}

Child Widgets
{
PropertyGridSection QuickGUIEditor.PropertyGridSection
{
DefaultFontName micross.14
Index 0
Selected true

Text segments
{
Segment0 micross.14 1 1 1 1 Widget
}

Child Widgets
{
PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty
{
DefaultFontName micross.14
Index 0

Text segments
{
Segment0 micross.14 1 1 1 1 Enabled
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty
{
DefaultFontName micross.14
Index 1

Text segments
{
Segment0 micross.14 1 1 1 1 Disabled Skin Type
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty1
{
DefaultFontName micross.14
Index 2

Text segments
{
Segment0 micross.14 1 1 1 1 Dragable
}

Child Widgets
{
}

}

PropertyGridComboBoxProperty QuickGUIEditor.PropertyGridComboBoxProperty
{
DefaultFontName micross.14
Index 3

Text segments
{
Segment0 micross.14 1 1 1 1 Horizontal Anchor
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty1
{
DefaultFontName micross.14
Index 4

Text segments
{
Segment0 micross.14 1 1 1 1 Hover Time
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty2
{
DefaultFontName micross.14
Index 5

Text segments
{
Segment0 micross.14 1 1 1 1 Inherit Opacity
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty2
{
DefaultFontName micross.14
Index 6

Text segments
{
Segment0 micross.14 1 1 1 1 Name
}

Child Widgets
{
}

}

PropertyGridSection QuickGUIEditor.PropertyGridSection1
{
DefaultFontName micross.14
Index 7

Text segments
{
Segment0 micross.14 1 1 1 1 Position
}

Child Widgets
{
PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty3
{
DefaultFontName micross.14
Index 0

Text segments
{
Segment0 micross.14 1 1 1 1 X
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty4
{
DefaultFontName micross.14
Index 1

Text segments
{
Segment0 micross.14 1 1 1 1 Y
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty3
{
DefaultFontName micross.14
Index 2

Text segments
{
Segment0 micross.14 1 1 1 1 Relative To Parent Client Area
}

Child Widgets
{
}

}

}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty5
{
DefaultFontName micross.14
Index 8

Text segments
{
Segment0 micross.14 1 1 1 1 Relative Opacity
}

Child Widgets
{
}

}

PropertyGridSection QuickGUIEditor.PropertyGridSection2
{
DefaultFontName micross.14
Index 9

Text segments
{
Segment0 micross.14 1 1 1 1 Resizable
}

Child Widgets
{
PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty4
{
DefaultFontName micross.14
Index 0

Text segments
{
Segment0 micross.14 1 1 1 1 Bottom
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty5
{
DefaultFontName micross.14
Index 1

Text segments
{
Segment0 micross.14 1 1 1 1 Left
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty6
{
DefaultFontName micross.14
Index 2

Text segments
{
Segment0 micross.14 1 1 1 1 Right
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty7
{
DefaultFontName micross.14
Index 3

Text segments
{
Segment0 micross.14 1 1 1 1 Top
}

Child Widgets
{
}

}

}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty8
{
DefaultFontName micross.14
Index 10

Text segments
{
Segment0 micross.14 1 1 1 1 Scrollable
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty9
{
DefaultFontName micross.14
Index 11

Text segments
{
Segment0 micross.14 1 1 1 1 Serialize
}

Child Widgets
{
}

}

PropertyGridSection QuickGUIEditor.PropertyGridSection3
{
DefaultFontName micross.14
Index 12

Text segments
{
Segment0 micross.14 1 1 1 1 Size
}

Child Widgets
{
PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty6
{
DefaultFontName micross.14
Index 0

Text segments
{
Segment0 micross.14 1 1 1 1 Width
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty7
{
DefaultFontName micross.14
Index 1

Text segments
{
Segment0 micross.14 1 1 1 1 Height
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty8
{
DefaultFontName micross.14
Index 2

Text segments
{
Segment0 micross.14 1 1 1 1 Max Width
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty9
{
DefaultFontName micross.14
Index 3

Text segments
{
Segment0 micross.14 1 1 1 1 Min Width
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty10
{
DefaultFontName micross.14
Index 4

Text segments
{
Segment0 micross.14 1 1 1 1 Max Height
}

Child Widgets
{
}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty11
{
DefaultFontName micross.14
Index 5

Text segments
{
Segment0 micross.14 1 1 1 1 Min Height
}

Child Widgets
{
}

}

}

}

PropertyGridTextProperty QuickGUIEditor.PropertyGridTextProperty12
{
DefaultFontName micross.14
Index 13

Text segments
{
Segment0 micross.14 1 1 1 1 Skin Type
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty10
{
DefaultFontName micross.14
Index 14

Text segments
{
Segment0 micross.14 1 1 1 1 Transparency Picking
}

Child Widgets
{
}

}

PropertyGridComboBoxProperty QuickGUIEditor.PropertyGridComboBoxProperty1
{
DefaultFontName micross.14
Index 15

Text segments
{
Segment0 micross.14 1 1 1 1 Vertical Anchor
}

Child Widgets
{
}

}

PropertyGridBoolProperty QuickGUIEditor.PropertyGridBoolProperty11
{
DefaultFontName micross.14
Index 16

Text segments
{
Segment0 micross.14 1 1 1 1 Visible
}

Child Widgets
{
}

}

}

}

PropertyGridSection QuickGUIEditor.PropertyGridSection4
{
DefaultFontName micross.14
Index 1

Text segments
{
Segment0 micross.14 1 1 1 1 Button
}

Child Widgets
{
}

}

PropertyGridSection QuickGUIEditor.PropertyGridSection5
{
DefaultFontName micross.14
Index 2

Text segments
{
Segment0 micross.14 1 1 1 1 CheckBox
}

Child Widgets
{
}

}

}

}

}

}

TabPage QuickGUIEditor.TabPage1
{
Index 1

Text segments
{
Segment0 micross.12 1 1 1 1 Events
}

Child Widgets
{
PropertyGrid QuickGUIEditor.PropertyGrid1
{
Dimensions 0 0 514 332
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
SkinType QuickGUIEditor
VerticalAnchor ANCHOR_VERTICAL_TOP_BOTTOM

UserDefinedHandlers WidgetEvents
{
}

UserDefinedHandlers PropertyGridEvents
{
}

Child Widgets
{
}

}

}

}

}

}

Panel QuickGUIEditor.Panel
{
Dimensions 0 349 514 100
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
VerticalAnchor ANCHOR_VERTICAL_BOTTOM

UserDefinedHandlers WidgetEvents
{
}

Child Widgets
{
ComboBox QuickGUIEditor.ComboBox
{
Dimensions 0 0 494 20
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Children...
}

UserDefinedHandlers ComboBoxEvents
{
}

Child Widgets
{
}

}

ComboBox QuickGUIEditor.ComboBox1
{
Dimensions 0 20 494 20
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Windows...
}

UserDefinedHandlers ComboBoxEvents
{
}

Child Widgets
{
}

}

ComboBox QuickGUIEditor.ComboBox2
{
Dimensions 0 40 494 20
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Modal Windows...
}

UserDefinedHandlers ComboBoxEvents
{
}

Child Widgets
{
}

}

Button QuickGUIEditor.Button
{
Dimensions 0 60 494 20
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
Text.AllottedSize 490 16
Text.HorizontalAlignment TEXT_ALIGNMENT_HORIZONTAL_CENTER

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Sheet
}

}

}

}

Label QuickGUIEditor.Label
{
Dimensions 0 344 61 14
Text.AllottedSize 59 12
VerticalAnchor ANCHOR_VERTICAL_BOTTOM

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Navigation
}

}

Button QuickGUIEditor.Button1
{
Dimensions 0 449 514 31
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
Text.AllottedSize 510 27
Text.HorizontalAlignment TEXT_ALIGNMENT_HORIZONTAL_CENTER
VerticalAnchor ANCHOR_VERTICAL_BOTTOM

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Delete This Widget
}

}

Button QuickGUIEditor.Button2
{
Dimensions 0 480 514 31
HorizontalAnchor ANCHOR_HORIZONTAL_LEFT_RIGHT
Text.AllottedSize 510 27
Text.HorizontalAlignment TEXT_ALIGNMENT_HORIZONTAL_CENTER
VerticalAnchor ANCHOR_VERTICAL_BOTTOM

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Delete Children...
}

}

}

}

}

}



if I just let this code, I see that I made in the editor.


Sheet Sheet
{
Dimensions 0 0 1024 768

UserDefinedHandlers WidgetEvents
{
}

Child Widgets
{
Button Button
{
Dimensions 480 358 75 25
Dragable true
MoveBaseWidgetOnDrag true
ResizeFromBottom true
ResizeFromLeft true
ResizeFromRight true
ResizeFromTop true
Text.AllottedSize 71 21
Text.HorizontalAlignment TEXT_ALIGNMENT_HORIZONTAL_CENTER

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 0 0 0 0
}

}

Label Label
{
Dimensions 501 364 32 14
Dragable true
MoveBaseWidgetOnDrag true
ResizeFromBottom true
ResizeFromLeft true
ResizeFromRight true
ResizeFromTop true
Text.AllottedSize 30 12

UserDefinedHandlers WidgetEvents
{
}

Text segments
{
Segment0 micross.12 1 1 1 1 Label
}

}

}



I can not edit the name of the labels and also I can not create child between the widgets via the editor.

kungfoomasta

08-07-2010 21:52:06

The editor is not complete, and there currently aren't any plans to work on it, as I'm focusing on the next version of QuickGUI.

You say that the first tutorial does not work for you? Can you provide the ogre.log contents, and a callstack?

icaromotta

09-07-2010 15:20:18

ok, the first work.

This code don't work:


QuickGUI::Button* myButton = defaultSheet->createWindow(Rect(300,300,200,200))->createButton(QuickGUI::Rect(50,50,100,25),"Click Me!");

icaromotta

09-07-2010 20:24:18

I really enjoyed the QuickGUI, but the editor does not work and their competitor MyGUI has editor. But QuickGUI is better than MyGUI.

kungfoomasta

10-07-2010 23:04:44

Its possible there might be a bug with creating a window without any text. Can you try creating a window with some text? Also separate the lines of code so you can see where the crash happens.

I'm in the process of writing the next version of the library and don't have time to reproduce this. Sorry!