Either the dlls you shipped your application are different from the ones the application is compiled or the folder/files are messed up. Windows has UAC also, maybe worth looking this as well?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuqDebug() << "i try to handle the event :" << LoginEvent->type;
myGUI->handleEvent(*LoginEvent);
qDebug() << "i handled the event :" << LoginEvent->type;
#define MessageBox __MINGW_NAME_AW(MessageBox)
and #define MessageBoxEx __MINGW_NAME_AW(MessageBoxEx)
#undef MessageBox
#undef MessageBoxA
#undef MessageBoxW
tgui::MessageBox::setSize(float,float);
doesn't do anything unless it's called aftertgui::MessageBox::addButton(sf::String&);
sf::RenderWindow
and the sf::Event
so all the events on the main window are passed to the LoginScreen. The program crashes when there is a new event on the window at the myGUI->handleEvent(*LoginEvent);
This is my LoginScreen::HandleEvent():void LoginScreen::HandleEvents()
{
while( LoginWindow->pollEvent(*LoginEvent) )
{
if (LoginEvent->type == sf::Event::Closed)
LoginWindow->close();
myGUI->handleEvent(*LoginEvent); <- This is where the crash occurs, tried with commenting out as well
//QApplication::processEvents();
}
}
tgui::Panel::add(button, "button")
but when i create the button i don't set the GUI in the constructor.tgui::EditBox::Ptr textBoxUsername;
textBoxUsername= tgui::EditBox::Ptr(*myGUI);
textBoxUsername->load("widgets/Black.conf");