QtFirebase icon indicating copy to clipboard operation
QtFirebase copied to clipboard

Crash when moving AdBanner to coordinates outside of app window

Open larpon opened this issue 7 years ago • 2 comments

... not sure what to do about this yet

larpon avatar Jun 27 '17 21:06 larpon

I had the same problem with QtAdmob project's AdBanner. When I include it with rectangle and changing rectangle's anchor to bottom of the Window it clashed. I gave up to use that project because AdBanner was always top of the window and it was half. I hope I will make QFirebase work for my project.

edips avatar Dec 15 '17 08:12 edips

@edips - cool. I hope you find this project useful.

This bug can be prevented if you collision detect the AdBanner x,y,width,height rectangle against your viewport 0,0,screen width, screen height rectangle BEFORE moving the banner. I.e. setX/Y (C++) or x = ... / y = ... in QML.

larpon avatar Dec 15 '17 09:12 larpon