Created attachment 122280 [details] source and make file to reproduce issue SUMMARY STEPS TO REPRODUCE 1. compile and link the supplied example code (exactly as supplied but updated for Qt5) 2. Run under leap 42.3 - works, and program exits nicely 3. Run under Leap 15.1 - works, but doesn't exit correctly OBSERVED RESULT Under Leap 15.1 program continues to run after closing window. EXPECTED RESULT Expect behaviour to be the same between the two releases - the program should exit when the window is closed. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I have an application based on the sample application which now doesn't work with the latest version of QT. Please can someone have a look at this, as it can't be so hard to fix? Should I report this under QT?
Can be fixed by adding m_mapWidget->setAttribute(Qt::WA_DeleteOnClose); to the example.